From b9591e68f0a631dd17f54291ca277aff5a8e9f3b Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Wed, 8 Jul 2020 17:51:20 +0200 Subject: Minor cleanups done over a larger time span --- plugin/youcompleteme.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugin/youcompleteme.vim (limited to 'plugin/youcompleteme.vim') diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim new file mode 100644 index 0000000..d2283fd --- /dev/null +++ b/plugin/youcompleteme.vim @@ -0,0 +1,23 @@ +augroup YOUCOMPLETEME + let g:ycm_error_symbol = '✖' " insert this as an error symbol in the gutter bar/sign column + let g:ycm_warning_symbol = '➔' " insert this as a warning symbol in the gutter bar/sign coloumn + + let g:ycm_autoclose_preview_window_after_insertion = 0 + let g:ycm_auto_trigger = 1 + let g:ycm_collect_identifiers_from_tags_files = 1 " Let YCM read tags from Ctags file + let g:ycm_confirm_extra_conf = 0 " security is overrated ;) + let g:ycm_always_populate_location_list = 0 " we can manually run :YcmDiags to do that + + let g:ycm_key_list_previous_completion = ['Up'] + let g:ycm_key_list_select_completion = ['Down'] + + let g:ycm_semantic_triggers = + \ { + \ 'c': [ 're!\w{2}' ] + \ } " per language configurations + + + " packadd YouCompleteMe +augroup END + + -- cgit v1.2.3