summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()