From c557e8fc94a0a5670bc80e6e1cdb6010a0194d30 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Sat, 1 May 2021 20:48:13 +0530 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 90947ee..c706e64 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,10 @@ git clone https://github.com/wbthomason/packer.nvim\ - Install language servers and prettier ( for autocompletion etc and code formatting , nodejs should be installed too!) , this usually depends on the language support you want to add in your neovim config. ``` -sudo npm install -g vscode-html-languageserver-bin typescript typescript-language-server vscode-css-languageserver-bin prettier +npm config set prefix=~/.node_modules +npm install -g vscode-html-languageserver-bin typescript typescript-language-server vscode-css-languageserver-bin prettier + +(ADD ~/.node_modules at your PATH) ``` To setup any language server , follow this guide https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md and search up the needed LSP. For example if I needed clangd's lsp server :