diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-30 08:20:27 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-30 08:20:27 +0100 |
commit | dd20d93dcde9bc62d85d62508f517fee8ebf2c8c (patch) | |
tree | 963d5de0a3c3d1c5587fabca4c32cf3863e12d5a | |
parent | d8b1662b9b7acfc186c9e8d4929f3bf07d5c9e8a (diff) |
Removes YCM
-rw-r--r-- | nvim-using-vimrc/init.vim | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/nvim-using-vimrc/init.vim b/nvim-using-vimrc/init.vim index 356fd5e..6a57795 100644 --- a/nvim-using-vimrc/init.vim +++ b/nvim-using-vimrc/init.vim @@ -153,13 +153,11 @@ Plug 'tpope/vim-fugitive' Plug 'fatih/vim-go', {'do': ':GoUpdateBinaries' } Plug 'tpope/vim-dispatch' Plug 'tpope/vim-commentary' -Plug 'ycm-core/YouCompleteMe' -"Plug 'jayli/vim-easycomplete' -Plug 'rose-pine/vim' +"Plug 'ycm-core/YouCompleteMe' +"Plug 'davidhalter/jedi-vim' Plug 'SirVer/UltiSnips' Plug 'honza/vim-snippets' Plug 'dense-analysis/ale' -Plug 'davidhalter/jedi-vim' call plug#end() " jedi-vim @@ -174,32 +172,30 @@ let g:jedi#rename_command = "<leader>r" let g:jedi#rename_command_keep_name = "<leader>R" " " YCM -let g:ycm_enable_inlay_hints = 1 -nnoremap <silent> <localleader>h <Plug>(YCMToggleInlayHints) -nnoremap gd :YcmCompleter GoToDefinition<CR> -nnoremap <leader>gr :YcmCompleter GoToReferences<CR> -nnoremap K :YcmCompleter GetDoc<CR> -" this will disable tab, allowing it to be used for ultisnips -let g:ycm_key_list_select_completion = ['<C-n>', '<Down>'] -let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>'] -let g:ycm_python_interpreter_path = '.venv/bin/python3' -let g:ycm_auto_trigger = 1 -let g:ycm_enable_inlay_hints = 0 -let g:ycm_python_sys_path = [] -let g:ycm_show_diagnostics_ui = 0 -let g:ycm_extra_conf_vim_data = [ - \ 'g:ycm_python_interpreter_path', - \ 'g:ycm_python_sys_path' - \] -let g:ycm_global_ycm_extra_conf = '~/.global_extra_conf.py' -nnoremap <leader>jd :YcmCompleter GoTo<CR> -imap <silent> <C-l> <Plug>(YCMToggleSignatureHelp)'. +" let g:ycm_enable_inlay_hints = 1 +" nnoremap <silent> <localleader>h <Plug>(YCMToggleInlayHints) +" nnoremap gd :YcmCompleter GoToDefinition<CR> +" nnoremap <leader>gr :YcmCompleter GoToReferences<CR> +" nnoremap K :YcmCompleter GetDoc<CR> +" " this will disable tab, allowing it to be used for ultisnips +" let g:ycm_key_list_select_completion = ['<C-n>', '<Down>'] +" let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>'] +" let g:ycm_python_interpreter_path = '.venv/bin/python3' +" let g:ycm_auto_trigger = 1 +" let g:ycm_enable_inlay_hints = 0 +" let g:ycm_python_sys_path = [] +" let g:ycm_show_diagnostics_ui = 0 +" let g:ycm_extra_conf_vim_data = [ +" \ 'g:ycm_python_interpreter_path', +" \ 'g:ycm_python_sys_path' +" \] +" let g:ycm_global_ycm_extra_conf = '~/.global_extra_conf.py' +" nnoremap <leader>jd :YcmCompleter GoTo<CR> +" imap <silent> <C-l> <Plug>(YCMToggleSignatureHelp)'. " snippets " Trigger configuration. You need to change this to something other than <tab> if you use one of the following: -" - https://github.com/Valloric/YouCompleteMe -" - https://github.com/nvim-lua/completion-nvim let g:UltiSnipsExpandTrigger="<tab>" let g:UltiSnipsJumpForwardTrigger="<c-b>" let g:UltiSnipsJumpBackwardTrigger="<c-z>" |