diff options
author | Guangxiong Lin <[email protected]> | 2022-04-09 00:12:01 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-09 00:12:01 +0800 |
commit | 64497e43cce4b24b2d8522844f5a0168ba0f14a3 (patch) | |
tree | 713fcc69f8634d825c5d2dc78ac20b501d65461f | |
parent | 1c7efda5be438f9e864d1401a3feb3c320a652b3 (diff) | |
download | dotfiles-64497e43cce4b24b2d8522844f5a0168ba0f14a3.tar.gz dotfiles-64497e43cce4b24b2d8522844f5a0168ba0f14a3.tar.bz2 dotfiles-64497e43cce4b24b2d8522844f5a0168ba0f14a3.zip |
Remove ycm (vim)
-rw-r--r-- | .vim/after/plugin/youcompleteme.vim | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/.vim/after/plugin/youcompleteme.vim b/.vim/after/plugin/youcompleteme.vim deleted file mode 100644 index 1c30617..0000000 --- a/.vim/after/plugin/youcompleteme.vim +++ /dev/null @@ -1,45 +0,0 @@ -let g:ycm_server_log_level = 'info' -let g:ycm_add_preview_to_completeopt = 'popup' -let g:ycm_collect_identifiers_from_comments_and_strings = 1 -let g:ycm_complete_in_strings = 1 -let g:ycm_auto_hover = '' -let g:ycm_auto_trigger = 1 - -let g:ycm_show_diagnostics_ui = 0 -let g:ycm_error_symbol = 'E>' -let g:ycm_warning_symbol = 'W>' - -let g:ycm_clangd_binary_path = 'clangd' -let g:ycm_gopls_binary_path = 'gopls' - -let g:ycm_filetype_whilelist = { - \ "c": 1, - \ "cpp": 1, - \ "go": 1, - \ "gdscript": 1, - \ "lua": 1, - \ "python": 1, - \ "sh": 1, - \ "vim": 1, - \ "zsh": 1 - \ } - -let g:ycm_filetype_blacklist = { - \ 'tagbar': 1, - \ 'leaderf': 1, - \ 'ledger': 1, - \ 'markdown': 1, - \ 'org': 1, - \ 'vimwiki': 1, - \ } - -nnoremap gd :call PushTagStackOnCommand('YcmCompleter GoTo')<CR> -nnoremap gy :call PushTagStackOnCommand('YcmCompleter GoToType')<CR> -nnoremap gr :call PushTagStackOnCommand('YcmCompleter GoToReferences')<CR> -nnoremap gi :call PushTagStackOnCommand('YcmCompleter GoToImplementation')<CR> -nnoremap <leader>rn :YcmCompleter RefactorRename<space> -nmap <leader>fs <plug>(YCMFindSymbolInDocument) -nmap <leader>fS <plug>(YCMFindSymbolInWorkspace) -nmap K <plug>(YCMHover) - -autocmd BufWritePre *.rs,*.go call execute('YcmCompleter Format') |