aboutsummaryrefslogtreecommitdiff
path: root/.vim/plugin/youcompleteme.vim
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-07-15 21:28:06 +0800
committergxlin <[email protected]>2021-07-15 21:28:06 +0800
commitd4e1469e4b0c5aaf5c23be555e8b224f9254d781 (patch)
treee68a0e5dd44ee43efc2d70c081f41ae3237a78c1 /.vim/plugin/youcompleteme.vim
parent36f249e1a7250e24f0c415b5bc53ba1b2f5806d4 (diff)
downloaddotfiles-d4e1469e4b0c5aaf5c23be555e8b224f9254d781.tar.gz
dotfiles-d4e1469e4b0c5aaf5c23be555e8b224f9254d781.tar.bz2
dotfiles-d4e1469e4b0c5aaf5c23be555e8b224f9254d781.zip
A usable boostrap config
Diffstat (limited to '.vim/plugin/youcompleteme.vim')
-rw-r--r--.vim/plugin/youcompleteme.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/.vim/plugin/youcompleteme.vim b/.vim/plugin/youcompleteme.vim
new file mode 100644
index 0000000..4c9f570
--- /dev/null
+++ b/.vim/plugin/youcompleteme.vim
@@ -0,0 +1,13 @@
+let g:ycm_server_log_level = 'info'
+let g:ycm_add_preview_to_completeopt = 0
+let g:ycm_show_diagnostics_ui = 0
+let g:ycm_collect_identifiers_from_comments_and_strings = 1
+let g:ycm_complete_in_strings = 1
+
+let g:ycm_filetype_whilelist = {
+ \ "c": 1, "cpp": 1, "sh": 1, "zsh": 1,
+ \ "python": 1, "go": 1, "gdscript": 1
+ \ }
+let g:ycm_filetype_blacklist = {
+ \ 'ledger': 1
+ \ }