-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc.bundles
151 lines (133 loc) · 5.15 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
" Environment {
set runtimepath+=~/.vim/bundle/repos/github.com/Shougo/dein.vim
if dein#load_state('~/.vim/bundle')
call dein#begin('~/.vim/bundle')
call dein#add('~/.vim/bundle/repos/github.com/Shougo/dein.vim')
" In your .vimrc.before.local file
" list only the plugin groups you will use
if !exists('g:spf13_bundle_groups')
let g:spf13_bundle_groups=['general', 'writing', 'programming', 'ruby', 'python', 'javascript', 'html', 'misc',]
endif
" To override all the included bundles, add the following to your
" .vimrc.bundles.local file:
" let g:override_spf13_bundles = 1
if !exists("g:override_spf13_bundles")
" General {
if count(g:spf13_bundle_groups, 'general')
call dein#add('nvim-tree/nvim-tree.lua')
call dein#add('kylechui/nvim-surround')
call dein#add('tpope/vim-repeat')
call dein#add('rhysd/conflict-marker.vim')
call dein#add('jiangmiao/auto-pairs')
call dein#add('andymass/vim-matchup')
call dein#add('nvim-lualine/lualine.nvim')
call dein#add('tpope/vim-abolish.git')
call dein#add('osyo-manga/vim-over')
call dein#add('kana/vim-textobj-user')
call dein#add('kana/vim-textobj-indent')
call dein#add('jasonlong/vim-textobj-css')
call dein#add('kana/vim-textobj-function')
call dein#add('gcmt/wildfire.vim')
call dein#add('airblade/vim-rooter')
call dein#add('benizi/vim-automkdir')
endif
" }
" Writing {
if count(g:spf13_bundle_groups, 'writing')
call dein#add('reedes/vim-litecorrect')
call dein#add('reedes/vim-textobj-sentence')
call dein#add('reedes/vim-textobj-quote')
call dein#add('reedes/vim-wordy')
endif
" }
" General Programming {
if count(g:spf13_bundle_groups, 'programming')
call dein#add("NeogitOrg/neogit")
call dein#add('preservim/nerdcommenter')
call dein#add('tpope/vim-endwise')
call dein#add('christoomey/vim-tmux-navigator')
call dein#add('ludovicchabant/vim-gutentags')
set statusline+=%{gutentags#statusline()}
endif
" }
" Snippets & AutoComplete {
call dein#add('neoclide/coc.nvim', { 'merged': 0, 'rev': 'master', 'build': 'yarn install --frozen-lockfile' })
call dein#add('SirVer/ultisnips', { 'if': 0 })
call dein#add('honza/vim-snippets', { 'if': 1 })
" }
" PHP {
if count(g:spf13_bundle_groups, 'php')
call dein#add('spf13/PIV')
call dein#add('arnaud-lb/vim-php-namespace')
call dein#add('beyondwords/vim-twig')
endif
" }
" Python {
if count(g:spf13_bundle_groups, 'python')
call dein#add('klen/python-mode')
call dein#add('yssource/python.vim')
call dein#add('python_match.vim')
call dein#add('pythoncomplete')
endif
" }
" Javascript {
if count(g:spf13_bundle_groups, 'javascript')
call dein#add('pangloss/vim-javascript', {'on_ft': ['javascript', 'javascript.jsx', 'html', 'vue']})
call dein#add('elzr/vim-json', {'on_ft': ['json', 'javascript']})
call dein#add('HerringtonDarkholme/yats.vim')
endif
" }
" Scala {
if count(g:spf13_bundle_groups, 'scala')
call dein#add('derekwyatt/vim-scala')
call dein#add('derekwyatt/vim-sbt')
call dein#add('xptemplate')
endif
" }
" Elixir {
if count(g:spf13_bundle_groups, 'elixir')
call dein#add('elixir-editors/vim-elixir', {'on_ft': 'elixir'})
endif
" }
" HTML {
if count(g:spf13_bundle_groups, 'html')
call dein#add('othree/html5.vim')
call dein#add('hail2u/vim-css3-syntax')
call dein#add('cakebaker/scss-syntax.vim')
call dein#add('tpope/vim-haml', {'on_ft': 'haml'})
call dein#add('mattn/emmet-vim')
endif
" }
" Ruby {
if count(g:spf13_bundle_groups, 'ruby')
call dein#add('vim-ruby/vim-ruby')
call dein#add('tpope/vim-rails')
let g:rubycomplete_buffer_loading = 1
let g:rubycomplete_classes_in_global = 1
let g:rubycomplete_rails = 1
let g:ruby_operators = 1
let g:ruby_pseudo_operators = 1
let g:ruby_space_errors = 1
let g:ruby_line_continuation_error = 1
let g:ruby_global_variable_error = 1
let g:ruby_fold = 1
let g:ruby_spellcheck_strings = 1
let g:ruby_indent_assignment_style = 'variable'
endif
" }
endif
" 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
" }
call dein#end()
call dein#save_state()
endif
filetype plugin indent on
syntax on