-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc.bundles
601 lines (527 loc) · 24 KB
/
.vimrc.bundles
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
" Modeline and Notes {
" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=0 foldmethod=marker spell:
"
" __ _ _____ _
" ___ _ __ / _/ |___ / __ __(_)_ __ ___
" / __| '_ \| |_| | |_ \ _____\ \ / /| | '_ ` _ \
" \__ \ |_) | _| |___) |_____|\ V / | | | | | | |
" |___/ .__/|_| |_|____/ \_/ |_|_| |_| |_|
" |_|
"
" This is the personal .vimrc.bundles file of Steve Francia.
" While much of it is beneficial for general use, I would
" recommend picking out the parts you want and understand.
"
" This file imports the various plugins of vimde. If you
" wish to alter which groups are imported, see vimrc.before.
" If you wish to add or remove individual bundles, create
" ~/.vimrc.bundles.local and `Bundle` or `UnBundle` as needed
" from there.
"
" You can find me at http://vimde.com
" }
" Environment {
" Basics {
set nocompatible " Must be first line
set background=dark " Assume a dark background
" }
" Windows Compatible {
" On Windows, also use '.vim' instead of 'vimfiles'; this makes synchronization
" across (heterogeneous) systems easier.
if has('win32') || has('win64')
set runtimepath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/.vim/after
" Be nice and check for multi_byte even if the config requires
" multi_byte support most of the time
if has("multi_byte")
" Windows cmd.exe still uses cp850. If Windows ever moved to
" Powershell as the primary terminal, this would be utf-8
set termencoding=cp850
" Let Vim use utf-8 internally, because many scripts require this
set encoding=utf-8
setglobal fileencoding=utf-8
" Windows has traditionally used cp1252, so it's probably wise to
" fallback into cp1252 instead of eg. iso-8859-15.
" Newer Windows files might contain utf-8 or utf-16 LE so we might
" want to try them first.
set fileencodings=ucs-bom,utf-8,utf-16le,cp1252,iso-8859-15
endif
endif
" }
" }
" Setup Plugin Manager Support {
" The next three lines ensure that the ~/.vim/bundle/ system works
" filetype off
" set rtp+=~/.vim/bundle/vundle
" call vundle#rc()
set rtp+=~/.vim/bundle/vim-plug
call plug#begin('~/.vim/bundle')
" }
" Add an UnBundle command {
" function! UnBundle(arg, ...)
" let bundle = vundle#config#init_bundle(a:arg, a:000)
" call filter(g:vundle#bundles, 'v:val["name_spec"] != "' . a:arg . '"')
" endfunction
" com! -nargs=+ UnBundle
" \ call UnBundle(<args>)
" }
" }
" package manager {
" Bundle 'gmarik/vundle'
Plug 'junegunn/vim-plug'
" }
" Plugins {
" In your .vimrc.before.local file
" list only the plugin groups you will use
if !exists('g:vimde_bundle_groups')
let g:vimde_bundle_groups=['general', 'coc.nvim', 'telescopre.nvim', 'programming', 'writing', 'php', 'ruby', 'python', 'javascript', 'html', 'misc',]
endif
" To override all the included bundles, add the following to your
" .vimrc.bundles.local file:
" let g:override_vimde_bundles = 1
if !exists("g:override_vimde_bundles")
" General {
if count(g:vimde_bundle_groups, 'general')
" NERD tree will be loaded on the first invocation of NERDTreeToggle command
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } " A command-line fuzzy finder
Plug 'junegunn/fzf.vim'
Plug 'kyazdani42/nvim-web-devicons' " optional, for file icons. For WSL, patch CascadiaCode font.
if has('nvim-0.5.0')
Plug 'kyazdani42/nvim-tree.lua'"
endif
" Plug 'scrooloose/nerdtree' ", { 'on': 'NERDTreeToggle' }
" Plug 'jistr/vim-nerdtree-tabs'
if !count(g:vimde_bundle_groups, 'telescope.nvim')
Plug 'eugen0329/vim-esearch' "Project-wide/global search and edit
endif
Plug 'lfv89/vim-interestingwords' " A vim plugin for highlighting and navigating through different words in a buffer.
"Plug 'Xuyuanp/nerdtree-git-plugin' " too slow for large git repositories
"Plug 'ctrlpvim/ctrlp.vim'
"Plug 'tacahiroy/ctrlp-funky'
"Plug 'google/vim-searchindex' "vim-searchindex: display number of search matches & index of a current match
"Plug 'itchyny/vim-cursorword' " Underlines the word under the cursor
"Plug 'dyng/ctrlsf.vim' " project-wide/global search, similar to ctrl-shift-f in sublime
if executable('ag')
Plug 'mileszs/ack.vim'
let g:ackprg = 'ag --nogroup --nocolor --column --smart-case'
elseif executable('ack-grep')
let g:ackprg="ack-grep -H --nocolor --nogroup --column"
Plug 'mileszs/ack.vim'
elseif executable('ack')
Plug 'mileszs/ack.vim'
endif
Plug 'jiangmiao/auto-pairs'
Plug 'mbbill/undotree'
Plug 'andymass/vim-matchup'
Plug 'terryma/vim-multiple-cursors'
"Plug 'ryanoasis/vim-devicons', { 'do': '' }
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
Plug 'rhysd/conflict-marker.vim'
"Plug 'Raimondi/delimitMate'
"Plug 'vim-scripts/sessionman.vim'
Plug 'easymotion/vim-easymotion'
Plug 'tpope/vim-obsession'
Plug 'Shougo/vimproc.vim', {'do': 'make'}
if (has("python") || has("python3")) && exists('g:vimde_use_powerline') && !exists('g:vimde_use_old_powerline')
Plug 'Lokaltog/powerline', {'rtp':'/powerline/bindings/vim'} | Plug 'powerline/fonts'
elseif exists('g:vimde_use_powerline') && exists('g:vimde_use_old_powerline')
Plug 'Lokaltog/vim-powerline' | Plug 'powerline/fonts'
else
Plug 'vim-airline/vim-airline' | Plug 'vim-airline/vim-airline-themes'
" Plug 'itchyny/lightline.vim'
endif
"Plug 'bling/vim-bufferline'
if !exists('g:vimde_no_views')
Plug 'vim-scripts/restore_view.vim'
endif
Plug 'tpope/vim-abolish' "abolish.vim: easily search for, substitute, and abbreviate multiple variants of a word
" Plugin to move lines and selections up and down
Plug 'matze/vim-move'
Plug 'osyo-manga/vim-over'
Plug 'gcmt/wildfire.vim'
Plug 'mhinz/vim-startify'
"Plug 'MattesGroeger/vim-bookmarks'
Plug 'tpope/vim-characterize' " extend 'ga'
"Plug 'cazador481/fakeclip.neovim'
Plug 'MarcWeber/vim-addon-mw-utils'
Plug 'tomtom/tlib_vim'
endif
" }
" AutoComplete & Snippets, state of the art {
if count(g:vimde_bundle_groups, 'coc.nvim')
" Use release branch (recommend)
Plug 'neoclide/coc.nvim', {'branch': 'release', 'do': 'npm install -g yarn'}
Plug 'honza/vim-snippets'
else " use neovim native LSP protocol support
Plug 'neovim/nvim-lspconfig'
endif
" Plug 'github/copilot.vim'
" }
" { neovim ecosystem
if has('nvim')
" lua plugin dependencies
Plug 'nvim-lua/plenary.nvim'
" fuzzy finder over lists
Plug 'nvim-telescope/telescope.nvim'
Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }
Plug 'mfussenegger/nvim-dap'
Plug 'rcarriga/nvim-notify'
Plug 'lukas-reineke/indent-blankline.nvim'
Plug 'CRAG666/code_runner.nvim'
Plug 'folke/which-key.nvim'
Plug 'CRAG666/code_runner.nvim'
" reference: awesome neovim, https://github.com/NvChad/NvChad
endif
" }
" General Programming {
if count(g:vimde_bundle_groups, 'programming')
" Pick one of the checksyntax, jslint, or syntastic
Plug 'scrooloose/nerdcommenter'
if has('nvim-0.5.0')
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'p00f/nvim-ts-rainbow'
Plug 'stsewd/tree-sitter-comment'
Plug 'nvim-treesitter/nvim-treesitter-textobjects'
Plug 'JoosepAlviste/nvim-ts-context-commentstring'
endif
" Plug 'sheerun/vim-polyglot' "A solid language pack for Vim. XXX: too slow moving in normal mode, don't use
" Plug 'kien/rainbow_parentheses.vim'
" Plug 'Yggdroot/indentLine'
Plug 'junegunn/vim-easy-align'
Plug 'tpope/vim-fugitive' "
Plug 'mhinz/vim-signify'
Plug 'mattn/gist-vim'
Plug 'tpope/vim-commentary'
" Plug 'Chiel92/vim-autoformat', { 'do': 'npm install -g esformatter esformatter-jsx' }
"Plug 'godlygeek/tabular'
"Plug 'benekastah/neomake', { 'do': 'pip install pylint && npm install -g eslint babel-eslint eslint-plugin-react', 'for': ['python', 'javascript'] }
" Plug 'luochen1990/rainbow'
" Plug 'LucHermitte/lh-vim-lib' | Plug 'LucHermitte/vim-build-tools-wrapper'
Plug 'cdelledonne/vim-cmake'
Plug 'alepez/vim-gtest'
Plug 'michaelb/sniprun', {'do': 'bash install.sh'}
Plug 'thinca/vim-quickrun'
" Plug 'thinca/vim-qfreplace' " perform the replacement in quickfix
if executable('ctags')
Plug 'majutsushi/tagbar'
endif
" Plug 'janko-m/vim-test'
" CVS/SVN/SVK/git/hk/bzr integration
"Plug 'vim-scripts/vcscommand.vim'
" Plug 'qstrahl/vim-matchmaker'
" a solid language pack for vim
"for javascript with tagbar, { 'do': 'npm install -g git+https://github.com/ramitos/jsctags.git' }
" Plug 'tpope/vim-sleuth', {'for': ['c', 'cpp', 'obj', 'go', 'cs', 'html', 'javascript', 'python']} " automatically detect and set buffer indentation options
" Plug 'mattn/webapi-vim'
"Plug 'PeterRincker/vim-argumentative'
" Plug 'AndrewRadev/sideways.vim' "move function arguments (and other delimited-by-something items) left and right
"Plug 'zenbro/mirror.vim'
"Plug 'editorconfig/editorconfig-vim'
endif
" }
" colorscheme {
if count(g:vimde_bundle_groups, 'colorscheme')
" Plug 'flazz/vim-colorschemes'
" Plug 'iCyMind/NeoSolarized'
Plug 'lifepillar/vim-solarized8'
if has('nvim')
Plug 'Tsuzat/NeoSolarized.nvim'
Plug 'EdenEast/nightfox.nvim'
Plug 'morhetz/gruvbox'
Plug 'folke/tokyonight.nvim', { 'branch': 'main' }
" Plug 'navarasu/onedark.nvim' " neovim>=0.5"
"Plug 'joshdick/onedark.vim' " vim/neovim<0.5
endif
" Plug 'altercation/vim-colors-solarized' " doesn't work on terminal
" color schemes below are either included by 'flazz/vim-colorschemes', or
" ugly...
endif
" }
" Snippets & AutoComplete, deprecated {
if count(g:vimde_bundle_groups, 'youcompleteme')
function! BuildYCM(info)
" info is a dictionary with 3 fields
" - name: name of the plugin
" - status: 'installed', 'updated', or 'unchanged'
" - force: set on PlugInstall! or PlugUpdate!
if a:info.status == 'installed' || a:info.force
" Mac
" TODO: Ubuntu
!./install.py --clang-completer --gocode-completer --rust-completer --js-completer --java-completer
endif
endfunction
" FIXME: too slow loading python3.vim provider
Plug 'Valloric/YouCompleteMe',
\ {
\ 'do': function('BuildYCM'),
\ }
\ 'for': ['c', 'cpp', 'python', 'rust', 'go', 'objc', 'objcpp', 'javascript', 'sh', 'thrift'],
" XXX: For Golang auto complete to work, remember to set GOPATH
" environment variable to your project package location before
" opening go projects.
" Using a non-master branch
Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' }
" Group dependencies, vim-snippets depends on ultisnips
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
elseif count(g:vimde_bundle_groups, 'snipmate')
Plug 'garbas/vim-snipmate'
Plug 'honza/vim-snippets'
" Source support_function.vim to support vim-snippets.
if filereadable(expand("~/.vim/bundle/vim-snippets/snippets/support_functions.vim"))
source ~/.vim/bundle/vim-snippets/snippets/support_functions.vim
endif
elseif count(g:vimde_bundle_groups, 'neocomplcache')
Plug 'Shougo/neocomplcache'
Plug 'Shougo/neosnippet'
Plug 'Shougo/neosnippet-snippets'
Plug 'honza/vim-snippets'
elseif count(g:vimde_bundle_groups, 'neocomplete')
Plug 'Shougo/neocomplete.vim.git'
Plug 'Shougo/neosnippet'
Plug 'Shougo/neosnippet-snippets'
Plug 'honza/vim-snippets'
endif
function! DoRemote(arg)
UpdateRemotePlugins
endfunction
function! BuildRacer(info)
" info is a dictionary with 3 fields
" - name: name of the plugin
" - status: 'installed', 'updated', or 'unchanged'
" - force: set on PlugInstall! or PlugUpdate!
if a:info.status == 'installed'
"!git clone https://github.com/rust-lang/rust.git ${HOME}/.rust/src
"!echo "export RUST_SRC_PATH=${HOME}/.rust/src/src" >> ~/.zshrc
"!echo "export RUST_SRC_PATH=${HOME}/.rust/src/src" >> ~/.bashrc
elseif a:info.force
!cd ${HOME}/.rust/src && git pull
endif
!cargo install racer
endfunction
if count(g:vimde_bundle_groups, 'deoplete')
Plug 'Shougo/deoplete.nvim', { 'do': function('DoRemote') }
" use ultisnips snippet engine
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
Plug 'zchee/deoplete-jedi', { 'for': 'python', 'do': '' }
Plug 'sebastianmarkow/deoplete-rust', { 'for': 'rust', 'do': function('BuildRacer') }
Plug 'zchee/deoplete-clang', { 'for': ['c', 'cpp', 'objc', 'objcpp'] }
Plug 'carlitux/deoplete-ternjs', { 'for': ['javascript', 'jsx', 'javascript.jsx', 'html'], 'do': 'npm install' }
Plug 'zchee/deoplete-go',{ 'for': ['go'], 'do': 'go get -u github.com/nsf/gocode && make' }
Plug 'pbogut/deoplete-padawan', { 'for': ['php'] }
Plug 'landaire/deoplete-swift', { 'for': ['swift'] }
Plug 'Shougo/neco-vim', { 'for': ['vim'] }
Plug 'Shougo/neoinclude.vim'
Plug 'Shougo/neco-syntax', { 'for': ['vim'] }
endif
" }
" Writing {
if count(g:vimde_bundle_groups, 'writing')
Plug 'reedes/vim-litecorrect'
Plug 'kana/vim-textobj-user'
Plug 'kana/vim-textobj-indent'
Plug 'reedes/vim-textobj-sentence'
Plug 'reedes/vim-textobj-quote'
Plug 'reedes/vim-wordy'
Plug 'junegunn/goyo.vim' " distraction-free writing in Vim
endif
" }
" Pandoc {
if count(g:vimde_bundle_groups, 'pandoc')
Plug 'vim-pandoc/vim-pandoc-syntax'
endif
" }
" C, CPP, objc, objcpp {
if !count(g:vimde_bundle_groups, 'youcompleteme') && !count(g:vimde_bundle_groups, 'deoplete')
" Plug 'Rip-Rip/clang_complete',{ 'for': ['c', 'cpp', 'objc', 'objcpp'], 'do': '' } |
" \ " we don't need this plugin to complete header file anymore
" \ Plug 'xaizek/vim-inccomplete', { 'for': [] }
endif
Plug 'critiqjo/lldb.nvim', { 'for': ['c', 'cpp', 'rust', 'go', 'objc', 'objcpp', 'swift'] }
" }
" Objective-c {
Plug 'b4winckler/vim-objc', { 'for': ['objc', 'objcpp', 'swift'] }
Plug 'eraserhd/vim-ios', { 'for': ['objc', 'objcpp', 'swift'] }
Plug 'gfontenot/vim-xcode', { 'for': ['objc', 'objcpp', 'swift'] }
" method list, documentation
" Plug 'msanders/cocoa.vim', { 'for': ['objc', 'objcpp'] }
" }
" swift {
Plug 'keith/swift.vim', { 'for': ['swift'] }
Plug 'toyamarinyon/vim-swift', {'for': ['swift']}
" }
" PHP {
if count(g:vimde_bundle_groups, 'php')
Plug 'arnaud-lb/vim-php-namespace', { 'for': ['php'] }
Plug 'beyondwords/vim-twig', { 'for': ['php'] }
endif
" }
" Python {
" Pick either python-mode or pyflakes & pydoc
Plug 'yssource/python.vim', { 'for': ['python'] }
if !count(g:vimde_bundle_groups, 'youcompleteme') && !count(g:vimde_bundle_groups, 'coc.nvim')
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
endif
"Plug 'klen/python-mode', { 'for': ['python'] }
Plug 'hynek/vim-python-pep8-indent', {'for': ['python']}
Plug 'bfredl/nvim-ipy', {'for': ['python', 'r']}
Plug 'hdima/python-syntax', {'for': ['python']}
" }
" Go Lang {
if count(g:vimde_bundle_groups, 'go')
"Plug 'Blackrush/vim-gocode', { 'for': ['go'], 'do': 'go get github.com/nsf/gocode' }
"Plug 'fatih/vim-go', { 'for': ['go'], 'do': ':GoInstallBinaries'}
endif
" }
" R {
if count(g:vimde_bundle_groups, 'R')
Plug 'jalvesaq/Nvim-R', { 'for': ['r'] }
endif
" }
" Javascript {
if count(g:vimde_bundle_groups, 'javascript')
if !count(g:vimde_bundle_groups, 'youcompleteme') && !count(g:vimde_bundle_groups, 'coc.nvim')
Plug 'marijnh/tern_for_vim', { 'for': ['javascript', 'jsx', 'javascript.jsx', 'html'], 'do': 'npm install && npm install -g tern' }
endif
Plug 'pangloss/vim-javascript', { 'for': ['javascript', 'jsx', 'javascript.jsx', 'html'] }
Plug 'jelera/vim-javascript-syntax', { 'for': ['javascript', 'jsx', 'javascript.jsx', 'html'] }
Plug 'othree/yajs.vim', { 'for': ['javascript', 'jsx', 'javascript.jsx', 'html'] }
Plug 'mxw/vim-jsx', { 'for': ['javascript', 'jsx', 'javascript.jsx'], 'do': 'rm ~/.vim/bundle/vim-jsx/after/indent/jsx.vim' }
Plug 'moll/vim-node', { 'for': ['javascript'] }
Plug 'justinj/vim-react-snippets', { 'for': ['javascript'] }
Plug 'groenewege/vim-less', { 'for': ['javascript'] }
Plug 'briancollins/vim-jst', { 'for': ['javascript'] }
Plug 'kchmck/vim-coffee-script', { 'for': ['javascript'] }
Plug 'isRuslan/vim-es6', { 'for': ['javascript'] }
"Plug 'heavenshell/vim-jsdoc', { 'for': ['javascript'] }
endif
" }
" typescript {
if count(g:vimde_bundle_groups, 'deoplete')
Plug 'mhartington/deoplete-typescript', { 'for': ['typescript'], 'do': 'npm install -g typescript' }
endif
" }
" Scala {
if count(g:vimde_bundle_groups, 'scala')
Plug 'derekwyatt/vim-scala', { 'for': ['scala'] }
Plug 'derekwyatt/vim-sbt', { 'for': ['scala'] }
"Plug 'xptemplate', { 'for': ['scala'] }
endif
" }
" Haskell {
if count(g:vimde_bundle_groups, 'haskell')
Plug 'travitch/hasksyn', { 'for': ['haskell'] }
Plug 'dag/vim2hs', { 'for': ['haskell'] }
Plug 'Twinside/vim-haskellConceal', { 'for': ['haskell'] }
Plug 'Twinside/vim-haskellFold', { 'for': ['haskell'] }
Plug 'lukerandall/haskellmode-vim', { 'for': ['haskell'] }
Plug 'eagletmt/neco-ghc', { 'for': ['haskell'] }
Plug 'eagletmt/ghcmod-vim', { 'for': ['haskell'] }
Plug 'adinapoli/cumino', { 'for': ['haskell'] }
Plug 'bitc/vim-hdevtools', { 'for': ['haskell'] }
Plug 'neovimhaskell/haskell-vim', { 'for': ['haskell'] }
endif
" }
" HTML {
if count(g:vimde_bundle_groups, 'html')
Plug 'ap/vim-css-color' ", { 'for': ['css', 'scss', 'javascript'] }
" Plug 'vim-scripts/HTML-AutoCloseTag', { 'for': ['css', 'html', 'javascript', 'xml']}
" Plug 'mattn/emmet-vim', {'for': ['html','javascript', 'css', 'jsx', 'javascript.jsx' ]}
" Plug 'hail2u/vim-css3-syntax', { 'for': ['css', 'html', 'javascript']}
" Plug 'tpope/vim-haml', { 'for': ['haml', 'sass', 'scss'] }
endif
" }
" Ruby {
if count(g:vimde_bundle_groups, 'ruby')
Plug 'tpope/vim-rails', { 'for': ['ruby'] }
let g:rubycomplete_buffer_loading = 1
"let g:rubycomplete_classes_in_global = 1
"let g:rubycomplete_rails = 1
endif
" }
" Puppet {
if count(g:vimde_bundle_groups, 'puppet')
Plug 'rodjek/vim-puppet'
endif
" }
" Elixir {
if count(g:vimde_bundle_groups, 'elixir')
Plug 'elixir-lang/vim-elixir', { 'for': ['elixir'] }
Plug 'carlosgaldino/elixir-snippets', { 'for': ['elixir'] }
Plug 'mattreduce/vim-mix', { 'for': ['elixir'] }
Plug 'archSeer/elixir.nvim', { 'for': ['elixir'] }
endif
" }
" Misc {
if count(g:vimde_bundle_groups, 'misc')
Plug 'tpope/vim-cucumber'
Plug 'cespare/vim-toml', { 'for': ['toml'] }
Plug 'quentindecock/vim-cucumber-align-pipes'
Plug 'saltstack/salt-vim'
Plug 'chrisbra/csv.vim', { 'for': ['csv'] }
" Plug 'towolf/vim-helm'
function! BuildComposer(info)
if a:info.status != 'unchanged' || a:info.force
!cargo build --release
UpdateRemotePlugins
endif
endfunction
endif
" }
" markdown {
" If you don't have nodejs and yarn
" use pre build, add 'vim-plug' to the filetype list so vim-plug can update this plugin
" see: https://github.com/iamcco/markdown-preview.nvim/issues/50
" Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
" If you have nodejs and yarn
" Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install', 'for': ['markdown'] } "deprecated in favor of coc-markdown-preview-enhanced
Plug 'mzlogin/vim-markdown-toc'
" }
" Rust {
" Plug 'rust-lang/rust.vim', { 'for': ['rust']}
"Plug 'ebfe/vim-racer',
"\ {
"\ 'for': ['rust'],
"\ 'do': function('BuildRacer'),
"\ }
" }
" github {
if count(g:vimde_bundle_groups, 'github')
" Using git URL
Plug 'https://github.com/junegunn/vim-github-dashboard.git'
endif
" }
" SQL {
" Plug 'vim-scripts/SQLUtilities', { 'for': ['sql'] }
" Plug 'vim-scripts/SQLComplete.vim', { 'for': ['sql']}
" Plug 'vim-scripts/dbext.vim', { 'for': ['sql']}
" }
" lua {
" Plug 'xolox/vim-misc' | Plug 'xolox/vim-lua-ftplugin', {'for':['lua']}
" }
" java {
" }
" json {
" Plug 'elzr/vim-json', { 'for': ['json'] }
" }
" LaTex {
" Plug 'lervag/vimtex', {'for': ['tex']}
" Plug 'donRaphaco/neotex', { 'for': 'tex' } "latex live preview - plugin for neovim and vim 8
" }
endif
" }
" Setup Plugin Manager Support end {
" Setup vim-plug Support {
" The next line ensures that the ~/.vim/bundle/ system works
call plug#end()
" }
" }
" Use fork bundles config if available {
if filereadable(expand("~/.vimrc.bundles.fork"))
source ~/.vimrc.bundles.fork
endif
" }
" Use local bundles config if available {
if filereadable(expand("~/.vimrc.bundles.local"))
source ~/.vimrc.bundles.local
endif
" }