vim: fix lsp

This commit is contained in:
Marco Thomas
2023-06-14 19:13:19 +02:00
parent 976bb0fd1e
commit 5fabbf95dd

View File

@@ -137,8 +137,9 @@ set hidden
let g:LanguageClient_serverCommands = { let g:LanguageClient_serverCommands = {
\ 'rust': ['~/.cargo/bin/rust-analyzer'], \ 'rust': ['~/.cargo/bin/rust-analyzer'],
\ 'python': ['/usr/bin/pylsp'], \ 'python': ['/usr/bin/pylsp'],
\ 'c': ['/usr/bin/clang'], \ 'c': ['/usr/bin/clangd'],
\ 'cpp': ['/usr/bin/clangd'], \ 'cpp': ['/usr/bin/clangd'],
\ 'yaml': ['~/.local/bin/yaml-lsp'],
\ } \ }
nnoremap <C-l> :call LanguageClient_contextMenu()<CR> nnoremap <C-l> :call LanguageClient_contextMenu()<CR>