vimrc: fix update error for YouCompleteMe

This commit is contained in:
Patrick Cao Huu Thien 2026-01-27 21:53:07 +01:00
parent 1c830ed822
commit e5ffcb6fd4
Signed by untrusted user who does not match committer: pcao
GPG Key ID: 7493CA6D56F2D2F7
1 changed files with 13 additions and 2 deletions

View File

@ -117,8 +117,18 @@ Plugin 'chrisbra/unicode.vim'
" | Install: | " | Install: |
" |https://github.com/ycm-core/YouCompleteMe?tab=readme-ov-file#linux-64-bit | " |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' Plugin 'Valloric/YouCompleteMe'
let g:ycm_language_server = [] 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>m <Plug>(go-test)
autocmd FileType go nmap <leader>a :GoAlternate<cr> autocmd FileType go nmap <leader>a :GoAlternate<cr>
autocmd FileType go nmap gd <Plug>(go-def) autocmd FileType go nmap gd <Plug>(go-def)
autocmd FileType go nmap gr :GoRename<cr>
autocmd FileType go set foldmethod=syntax autocmd FileType go set foldmethod=syntax
" go test " go test
autocmd FileType go nmap <leader>t :GoTestFunc<cr> autocmd FileType go nmap <leader>t :GoTestFunc<cr>