Dynamically load plugged plugins in vimrc

main
Buddy Sandidge 4 years ago
parent c19e79600a
commit 8b24e127e8

@ -0,0 +1 @@
Plug 'neoclide/coc.nvim', { 'branch': 'release' }

@ -0,0 +1,3 @@
Plug 'SirVer/ultisnips', { 'tag': '3.2' }
Plug 'editorconfig/editorconfig-vim', { 'tag': 'v1.1.1' }
Plug 'tpope/vim-surround'

@ -0,0 +1,2 @@
Plug 'junegunn/fzf', { 'tag': '0.24.4' }
Plug 'junegunn/fzf.vim'

@ -0,0 +1,4 @@
Plug 'cespare/vim-toml', { 'for': 'toml' }
Plug 'fatih/vim-go', { 'tag': 'v1.24', 'for': [ 'go' ] }
Plug 'hashivim/vim-hashicorp-tools'
Plug 'rust-lang/rust.vim', { 'for': 'rust' }

@ -0,0 +1,57 @@
Plug 'dense-analysis/ale', {
\ 'tag': 'v3.0.0',
\ 'for': [
\ 'bash',
\ 'css',
\ 'dockerfile',
\ 'go',
\ 'graphql',
\ 'html',
\ 'javascript',
\ 'json',
\ 'less',
\ 'make',
\ 'markdown',
\ 'php',
\ 'python',
\ 'ruby',
\ 'rust',
\ 'scss',
\ 'sh',
\ 'sql',
\ 'tcl',
\ 'toml',
\ 'typescript',
\ 'vim',
\ 'vue',
\ 'xml',
\ 'yaml'
\ ]
\ }
Plug 'prettier/vim-prettier', {
\ 'branch': 'release/1.x',
\ 'do': 'npm install',
\ 'for': [
\ 'css',
\ 'graphql',
\ 'html',
\ 'javascript',
\ 'json',
\ 'less',
\ 'markdown',
\ 'package',
\ 'php',
\ 'pug',
\ 'python',
\ 'ruby',
\ 'scss',
\ 'sh',
\ 'swift',
\ 'toml',
\ 'typescript',
\ 'vue',
\ 'xml',
\ 'yaml'
\ ]
\ }

@ -1,5 +1,5 @@
" Nerdtree settings
"
Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle', 'tag': '6.9.8' }
" Close all open buffers on entering a window if the only
" buffer that's left is the NERDTree buffer
function! s:CloseIfOnlyNerdTreeLeft()
@ -17,5 +17,6 @@ let g:NERDTreeDirArrowCollapsible = '▾'
let NERDTreeDirArrows=1
let NERDTreeIgnore = ['\.pyc$', '\.swp$']
map <leader>nt :NERDTreeToggle<CR>
autocmd WinEnter * call s:CloseIfOnlyNerdTreeLeft()

@ -0,0 +1,2 @@
Plug 'lifepillar/pgsql.vim', { 'for': [ 'sql' ] }
let g:sql_type_default = 'pgsql'

@ -0,0 +1,2 @@
Plug 'NLKNguyen/papercolor-theme'
Plug 'sheerun/vim-wombat-scheme'

@ -1 +0,0 @@
let g:sql_type_default = 'pgsql'

@ -1,72 +1,7 @@
call plug#begin('~/.vim/plugged')
Plug 'NLKNguyen/papercolor-theme'
Plug 'SirVer/ultisnips', { 'tag': '3.2' }
Plug 'cespare/vim-toml', { 'for': 'toml' }
Plug 'editorconfig/editorconfig-vim', { 'tag': 'v1.1.1' }
Plug 'fatih/vim-go', { 'tag': 'v1.24', 'for': [ 'go' ] }
Plug 'hashivim/vim-hashicorp-tools'
Plug 'lifepillar/pgsql.vim', { 'for': [ 'sql' ] }
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle', 'tag': '6.9.8' }
Plug 'dense-analysis/ale', {
\ 'tag': 'v3.0.0',
\ 'for': [
\ 'bash',
\ 'css',
\ 'dockerfile',
\ 'go',
\ 'graphql',
\ 'html',
\ 'javascript',
\ 'json',
\ 'less',
\ 'make',
\ 'markdown',
\ 'php',
\ 'python',
\ 'ruby',
\ 'rust',
\ 'scss',
\ 'sh',
\ 'sql',
\ 'tcl',
\ 'toml',
\ 'typescript',
\ 'vim',
\ 'vue',
\ 'xml',
\ 'yaml'
\ ]
\ }
Plug 'prettier/vim-prettier', {
\ 'branch': 'release/1.x',
\ 'do': 'npm install',
\ 'for': [
\ 'css',
\ 'graphql',
\ 'html',
\ 'javascript',
\ 'json',
\ 'less',
\ 'markdown',
\ 'package',
\ 'php',
\ 'pug',
\ 'python',
\ 'ruby',
\ 'scss',
\ 'sh',
\ 'swift',
\ 'toml',
\ 'typescript',
\ 'vue',
\ 'xml',
\ 'yaml'
\ ]
\ }
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
Plug 'sheerun/vim-wombat-scheme'
Plug 'tpope/vim-surround'
for f in split(glob('~/.vim/plug.d/*.vim'), '\n')
exe 'source' f
endfor
call plug#end()

Loading…
Cancel
Save