-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin_config.vim
45 lines (38 loc) · 1.13 KB
/
plugin_config.vim
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
" Airline {
set laststatus=2
let g:airline_theme='angr'
" }
" NERDTree {
map <C-n> :NERDTreeToggle<CR>
let NERDTreeIgnore=['\.pyc$', '\~$', '__pycache__$', '\.git', 'node_modules']
let NERDTreeShowHidden=1
" }
" CtrlP {
let g:ctrlp_max_files=0
let g:ctrlp_max_depth=40
let g:ctrlp_custom_ignore = '\v[\/](node_modules)|(\.(git))$'
let g:ctrlp_show_hidden = 1
" }
" Emmet {
let g:user_emmet_leader_key='<C-Y>'
let g:user_emmet_settings=webapi#json#decode(join(readfile(expand('~/.vim/snippets/emmet.json')), "\n"))
" }
" YouCompleteMe {
let g:ycm_min_num_of_chars_for_completion = 4
let g:ycm_min_num_identifier_candidate_chars = 4
let g:ycm_enable_diagnostic_highlighting = 0
" Don't show YCM's preview window [ I find it really annoying ]
set completeopt-=preview
let g:ycm_add_preview_to_completeopt = 0
" }
" Ale {
let g:ale_sign_error = '●' " Less aggressive than the default '>>'
let g:ale_sign_warning = '.'
let g:ale_lint_on_enter = 0 " Less distracting when opening a new file
let g:ale_linters = {
\ 'javascript': ['standard'],
\}
" }
" Rust {
let g:rustfmt_autosave = 1
" }