aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-12-10 11:10:37 +0800
committerGuangxiong Lin <[email protected]>2021-12-10 11:10:37 +0800
commiteb432fbb11459c1ee1bd10dc7c50230b7f245ede (patch)
treea699bf1df8db8bb7a273866ae1b985644d116a6a
parentf05a975462f74ed64f145b3c4d819ee3fcc279ac (diff)
downloaddotfiles-eb432fbb11459c1ee1bd10dc7c50230b7f245ede.tar.gz
dotfiles-eb432fbb11459c1ee1bd10dc7c50230b7f245ede.tar.bz2
dotfiles-eb432fbb11459c1ee1bd10dc7c50230b7f245ede.zip
Update ycm config
-rw-r--r--.vim/plugin/youcompleteme.vim10
1 files changed, 8 insertions, 2 deletions
diff --git a/.vim/plugin/youcompleteme.vim b/.vim/plugin/youcompleteme.vim
index a0cbe5e..2cb461f 100644
--- a/.vim/plugin/youcompleteme.vim
+++ b/.vim/plugin/youcompleteme.vim
@@ -1,9 +1,12 @@
let g:ycm_server_log_level = 'info'
let g:ycm_add_preview_to_completeopt = 0
-let g:ycm_show_diagnostics_ui = 1
let g:ycm_collect_identifiers_from_comments_and_strings = 1
let g:ycm_complete_in_strings = 1
+let g:ycm_show_diagnostics_ui = 1
+let g:ycm_error_symbol = 'E>'
+let g:ycm_warning_symbol = 'W>'
+
let g:ycm_filetype_whilelist = {
\ "c": 1,
\ "cpp": 1,
@@ -17,9 +20,12 @@ let g:ycm_filetype_whilelist = {
\ }
let g:ycm_filetype_blacklist = {
+ \ 'tagbar': 1,
+ \ 'leaderf': 1,
\ 'ledger': 1,
\ 'markdown': 1,
- \ 'org': 1
+ \ 'org': 1,
+ \ 'vimwiki': 1,
\ }
command YcmCompleterGoTo :YcmCompleter GoTo