Skip to content

Commit ebfa6e1

Browse files
author
Bowei Chen
committed
Default ycm_extra_conf
1 parent e69e042 commit ebfa6e1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

vimrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Plugin 'Valloric/YouCompleteMe'
4747
let g:ycm_auto_trigger = 1
4848
let g:ycm_server_keep_logfiles = 1
4949
let g:ycm_server_log_level = 'debug'
50+
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
5051
"自动语法检测插件
5152
Plugin 'scrooloose/syntastic'
5253
"Recommended Setting
@@ -60,6 +61,7 @@ let g:syntastic_auto_loc_list = 1
6061
let g:syntastic_check_on_open = 1
6162
let g:syntastic_check_on_wq = 0
6263
"let g:syntastic_haskell_checkers = []
64+
let g:syntastic_go_checkers = ['go', 'gofmt', 'govet']
6365

6466
Plugin 'rdnetto/YCM-Generator'
6567

@@ -173,6 +175,12 @@ Plugin 'google/vim-codefmt'
173175
" Also add Glaive, which is used to configure codefmt's maktaba flags. See
174176
" `:help :Glaive` for usage.
175177
Plugin 'google/vim-glaive'
178+
179+
Plugin 'Superbil/llvm.vim'
180+
augroup filetype
181+
au! BufRead,BufNewFile *.ll set filetype=llvm
182+
augroup END
183+
176184
call vundle#end()
177185
" the glaive#Install() should go after the "call vundle#end()"
178186
call glaive#Install()

0 commit comments

Comments
 (0)