]> git.sthu.org Git - vimconf.git/blob - plugins-local.vim.example
plugins: Configure gutentags
[vimconf.git] / plugins-local.vim.example
1 Plug 'jamessan/vim-gnupg'
2
3 " An alternative to youcompleteme (ycm)
4 Plug 'justmao945/vim-clang', {'for': ['c', 'cpp', 'objc']}
5
6 "Plug 'kien/tabman.vim'
7
8 "Plug 'chikamichi/mediawiki.vim'
9
10 function PluginsLocalConfig()
11 " Do not show diagnostic window of vim-clang
12 let g:clang_diagsopt = ''
13
14 let g:ConqueTerm_StartMessages = 0
15
16 " Reduce load on memory by updating one plugin at a time
17 "let g:plug_threads = 1
18
19 " Configuration for youcompleteme, if not using vim-clang.
20 "let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py'
21 "let g:ycm_confirm_extra_conf = 0
22 "let g:ycm_min_num_of_chars_for_completion = 2
23 "let g:ycm_collect_identifiers_from_tags_files = 1
24 "let g:ycm_autoclose_preview_window_after_completion = 1
25 "let g:ycm_key_list_select_completion = ['<Down>']
26 "nnoremap <buffer> <leader>jd :YcmCompleter GoToDefinitionElseDeclaration<CR>
27 "let g:ycm_filetype_whitelist = { 'c' : 1, 'cpp' : 1, 'cs' : 1, 'objc' : 1, 'java' : 1, 'python' : 1 }
28
29 " Some terminals, like konsole, cause weired symbols (e.g., q) printed due to
30 " broken cursor-shape termcodes.
31 if has('nvim')
32 set guicursor=
33 " Workaround some broken plugins which set guicursor indiscriminately.
34 au OptionSet guicursor noautocmd set guicursor=
35 end
36 endfunction
37
38 " vim:ft=vim