From de5b7844329684073387bc9838ca83013156ffc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 10 Nov 2020 20:36:40 +0300 Subject: better JS support --- dotfiles/.config/nvim/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index b652ce3..f5fbdfd 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -21,6 +21,7 @@ call plug#begin('~/.local/share/nvim/site/plugged') Plug 'rust-lang/rust.vim' Plug 'cespare/vim-toml' Plug 'xavierd/clang_complete' + Plug 'pangloss/vim-javascript' Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', \ 'do': 'bash install.sh', @@ -212,7 +213,7 @@ call plug#end() \ 'cpp': ['/usr/bin/clangd'], \ 'python': ['/usr/bin/pyls'], \ 'rust': ['/usr/bin/rustup', 'run', 'stable', 'rls'], - \ 'javascript': ['/usr/bin/javascript-typescript-stdio'], + \ 'javascript': ['/usr/bin/typescript-language-server', '--stdio'], \ } " LanguageClient-neovim -- cgit v1.2.3