vimrc: fix update error for YouCompleteMe
This commit is contained in:
parent
1c830ed822
commit
e5ffcb6fd4
|
|
@ -117,8 +117,18 @@ Plugin 'chrisbra/unicode.vim'
|
|||
" | Install: |
|
||||
" |https://github.com/ycm-core/YouCompleteMe?tab=readme-ov-file#linux-64-bit |
|
||||
" | |
|
||||
" | Upgrade: |
|
||||
" |cd ~/.vim/bundle/YouCompleteMe |
|
||||
" |git fetch |
|
||||
" |python3 ./install.py --clang-completer --go-completer --ts-completer |
|
||||
" | |
|
||||
" | |
|
||||
" | on errors with gopls: |
|
||||
" |go install golang.org/x/tools/gopls@latest |
|
||||
" |python3 ./install.py --clang-completer --ts-completer |
|
||||
" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
|
||||
" (_) (_)
|
||||
|
||||
Plugin 'Valloric/YouCompleteMe'
|
||||
|
||||
let g:ycm_language_server = []
|
||||
|
|
@ -337,6 +347,7 @@ Plugin 'fatih/vim-go'
|
|||
autocmd FileType go nmap <leader>m <Plug>(go-test)
|
||||
autocmd FileType go nmap <leader>a :GoAlternate<cr>
|
||||
autocmd FileType go nmap gd <Plug>(go-def)
|
||||
autocmd FileType go nmap gr :GoRename<cr>
|
||||
autocmd FileType go set foldmethod=syntax
|
||||
" go test
|
||||
autocmd FileType go nmap <leader>t :GoTestFunc<cr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue