summaryrefslogtreecommitdiff
path: root/base/config/nvim/init.vim
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2022-04-13 21:14:35 -0700
committerJesse Morgan <jesse@jesterpm.net>2022-04-13 21:14:35 -0700
commit3f8233407d3db32ccdfe03f1cdedc1ad5642d2e5 (patch)
tree7c996b21b4e3c7c9d42fab3de939cb66bd56c937 /base/config/nvim/init.vim
parent2e5b81836f358b99326351bba991e570b9f8c3d8 (diff)
Add neovim config
Diffstat (limited to 'base/config/nvim/init.vim')
-rw-r--r--base/config/nvim/init.vim49
1 files changed, 49 insertions, 0 deletions
diff --git a/base/config/nvim/init.vim b/base/config/nvim/init.vim
new file mode 100644
index 0000000..18324af
--- /dev/null
+++ b/base/config/nvim/init.vim
@@ -0,0 +1,49 @@
+set runtimepath^=~/.vim runtimepath+=~/.vim/after
+let &packpath = &runtimepath
+source ~/.vimrc
+
+call plug#begin('~/.vim/plugged')
+
+" Collection of common configurations for the Nvim LSP client
+Plug 'neovim/nvim-lspconfig'
+
+" Completion framework
+Plug 'hrsh7th/nvim-cmp'
+
+" LSP completion source for nvim-cmp
+Plug 'hrsh7th/cmp-nvim-lsp'
+
+" Snippet completion source for nvim-cmp
+Plug 'hrsh7th/cmp-vsnip'
+
+" Other usefull completion sources
+Plug 'hrsh7th/cmp-path'
+Plug 'hrsh7th/cmp-buffer'
+
+" See hrsh7th's other plugins for more completion sources!
+
+" To enable more of the features of rust-analyzer, such as inlay hints and more!
+Plug 'simrat39/rust-tools.nvim'
+
+" Snippet engine
+Plug 'hrsh7th/vim-vsnip'
+
+" Fuzzy finder
+" Optional
+Plug 'nvim-lua/popup.nvim'
+Plug 'nvim-lua/plenary.nvim'
+Plug 'nvim-telescope/telescope.nvim'
+
+" Color Scheme
+Plug 'arcticicestudio/nord-vim'
+
+Plug 'vim-airline/vim-airline'
+Plug 'airblade/vim-gitgutter'
+Plug 'tpope/vim-fugitive'
+
+call plug#end()
+
+colorscheme nord
+
+source ~/.config/nvim/rust.vim
+