aboutsummaryrefslogtreecommitdiff
path: root/plugin/youcompleteme.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/youcompleteme.vim')
-rw-r--r--plugin/youcompleteme.vim23
1 files changed, 23 insertions, 0 deletions
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 @@
1augroup YOUCOMPLETEME
2 let g:ycm_error_symbol = '✖' " insert this as an error symbol in the gutter bar/sign column
3 let g:ycm_warning_symbol = '➔' " insert this as a warning symbol in the gutter bar/sign coloumn
4
5 let g:ycm_autoclose_preview_window_after_insertion = 0
6 let g:ycm_auto_trigger = 1
7 let g:ycm_collect_identifiers_from_tags_files = 1 " Let YCM read tags from Ctags file
8 let g:ycm_confirm_extra_conf = 0 " security is overrated ;)
9 let g:ycm_always_populate_location_list = 0 " we can manually run :YcmDiags to do that
10
11 let g:ycm_key_list_previous_completion = ['Up']
12 let g:ycm_key_list_select_completion = ['Down']
13
14 let g:ycm_semantic_triggers =
15 \ {
16 \ 'c': [ 're!\w{2}' ]
17 \ } " per language configurations
18
19
20 " packadd YouCompleteMe
21augroup END
22
23
..