Compare commits
2 Commits
858677ef79
...
67b9c6b45a
Author | SHA1 | Date | |
---|---|---|---|
67b9c6b45a | |||
01059ac01a |
36
vimrc
36
vimrc
@ -36,24 +36,21 @@ endfor
|
||||
Pack 'mkitt/tabline.vim'
|
||||
|
||||
" YouCompleteMe
|
||||
" TODO: Try out neovim completion plugins to see if they are better
|
||||
if !platform#is_windows()
|
||||
Pack 'ycm-core/YouCompleteMe',
|
||||
\ {'type': 'opt', 'do': '!./install.py --clang-completer'}
|
||||
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
|
||||
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
|
||||
let g:ycm_min_num_of_chars_for_completion = 1
|
||||
let g:ycm_complete_in_comments = 1
|
||||
let g:ycm_complete_in_strings = 1
|
||||
let g:ycm_collect_identifiers_from_comments_and_strings = 1
|
||||
let g:ycm_seed_identifiers_with_syntax = 1
|
||||
let g:ycm_autoclose_preview_window_after_insertion = 1
|
||||
let g:ycm_always_populate_location_list = 1
|
||||
let g:ycm_error_symbol = '▸'
|
||||
let g:ycm_warning_symbol = '▸'
|
||||
let g:ycm_goto_buffer_command = 'horizontal-split'
|
||||
let g:ycm_use_clangd = 0
|
||||
endif
|
||||
Pack 'ycm-core/YouCompleteMe', {'type': 'opt'}
|
||||
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
|
||||
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
|
||||
let g:ycm_min_num_of_chars_for_completion = 1
|
||||
let g:ycm_complete_in_comments = 1
|
||||
let g:ycm_complete_in_strings = 1
|
||||
let g:ycm_collect_identifiers_from_comments_and_strings = 1
|
||||
let g:ycm_seed_identifiers_with_syntax = 1
|
||||
let g:ycm_autoclose_preview_window_after_insertion = 1
|
||||
let g:ycm_always_populate_location_list = 1
|
||||
let g:ycm_error_symbol = '▸'
|
||||
let g:ycm_warning_symbol = '▸'
|
||||
let g:ycm_goto_buffer_command = 'horizontal-split'
|
||||
let g:ycm_use_clangd = 0
|
||||
|
||||
" ultisnips - snippet engine
|
||||
Pack 'SirVer/ultisnips'
|
||||
Pack 'honza/vim-snippets'
|
||||
@ -203,7 +200,8 @@ Pack 'jrozner/vim-antlr'
|
||||
|
||||
" Plugins for remote integrations
|
||||
Pack 'greymd/oscyank.vim', {'type': 'opt'}
|
||||
let g:use_osc52 = trim(system('tmux show-options -g set-clipboard')) ==# 'set-clipboard on'
|
||||
let g:use_osc52 = $TMUX !=# '' &&
|
||||
\ trim(system('tmux show-options -g set-clipboard')) ==# 'set-clipboard on'
|
||||
if g:use_osc52
|
||||
packadd oscyank.vim
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user