From abded5e0197129782924e128452a48f3c38ee08f Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Tue, 6 Oct 2020 22:59:14 +0300 Subject: added go language server --- dotfiles/.config/nvim/init.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 11fb63f..964a354 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -203,11 +203,11 @@ au BufEnter * let &titlestring = "vim - " . expand("%t") " LSP let g:LanguageClient_serverCommands = { \ 'c': ['/usr/bin/clangd'], + \ 'go': ['/usr/bin/gopls'], \ 'cpp': ['/usr/bin/clangd'], + \ 'python': ['/usr/bin/pyls'], \ 'rust': ['/usr/bin/rustup', 'run', 'stable', 'rls'], - \ 'javascript': ['/usr/local/bin/javascript-typescript-stdio'], - \ 'javascript.jsx': ['tcp://127.0.0.1:2089'], - \ 'python': ['/usr/local/bin/pyls'], + \ 'javascript': ['/usr/bin/javascript-typescript-stdio'], \ } " LanguageClient-neovim -- cgit v1.2.3