summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2022-03-13 22:21:39 -0700
committerMatt Turner <mattst88@gmail.com>2022-03-13 22:22:03 -0700
commit15e52ed835cda54b63ed1eb0ae6fda85df741bac (patch)
treeb0d1c46e2e6a285c500a12f23df7acdbfe7c19b7
parenteacb21549183add8d139234d8dd8949f88b49eff (diff)
nvim: Move plugins to plugins.vim
-rw-r--r--.config/nvim/init.vim24
-rw-r--r--.config/nvim/plugins.vim22
2 files changed, 23 insertions, 23 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 46f1c36..1fe72bc 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -2,26 +2,4 @@ set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
source ~/.config/nvim/coc.vim
-
-call plug#begin()
-Plug 'airblade/vim-rooter'
-Plug 'bogado/file-line'
-Plug 'editorconfig/editorconfig-vim'
-Plug 'google/vim-searchindex'
-Plug 'igankevich/mesonic'
-Plug 'jackguo380/vim-lsp-cxx-highlight'
-Plug 'jamessan/vim-gnupg'
-Plug 'javier-lopez/sprunge.vim'
-Plug 'junegunn/fzf.vim'
-Plug 'neoclide/coc.nvim', {'branch': 'release'}
-Plug 'preservim/nerdcommenter'
-Plug 'preservim/nerdtree'
-Plug 'saltstack/salt-vim'
-Plug 'sheerun/vim-polyglot'
-Plug 'tmsvg/pear-tree'
-Plug 'tpope/vim-eunuch'
-Plug 'tpope/vim-fugitive'
-Plug 'tpope/vim-surround'
-Plug 'vim-scripts/git_patch_tags.vim'
-Plug 'Yggdroot/indentLine'
-call plug#end()
+source ~/.config/nvim/plugins.vim
diff --git a/.config/nvim/plugins.vim b/.config/nvim/plugins.vim
new file mode 100644
index 0000000..c82bc4a
--- /dev/null
+++ b/.config/nvim/plugins.vim
@@ -0,0 +1,22 @@
+call plug#begin()
+Plug 'airblade/vim-rooter'
+Plug 'bogado/file-line'
+Plug 'editorconfig/editorconfig-vim'
+Plug 'google/vim-searchindex'
+Plug 'igankevich/mesonic'
+Plug 'jackguo380/vim-lsp-cxx-highlight'
+Plug 'jamessan/vim-gnupg'
+Plug 'javier-lopez/sprunge.vim'
+Plug 'junegunn/fzf.vim'
+Plug 'neoclide/coc.nvim', {'branch': 'release'}
+Plug 'preservim/nerdcommenter'
+Plug 'preservim/nerdtree'
+Plug 'saltstack/salt-vim'
+Plug 'sheerun/vim-polyglot'
+Plug 'tmsvg/pear-tree'
+Plug 'tpope/vim-eunuch'
+Plug 'tpope/vim-fugitive'
+Plug 'tpope/vim-surround'
+Plug 'vim-scripts/git_patch_tags.vim'
+Plug 'Yggdroot/indentLine'
+call plug#end()