Update README.md

This commit is contained in:
siduck76 2021-03-13 16:12:51 +05:30 committed by GitHub
parent 72e5bd93a9
commit c6d8f2e2e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,5 +54,6 @@ git clone https://github.com/wbthomason/packer.nvim\
` sudo npm install -g vscode-html-languageserver-bin typescript typescript-language-server vscode-css-languageserver-bin prettier ` sudo npm install -g vscode-html-languageserver-bin typescript typescript-language-server vscode-css-languageserver-bin prettier
` `
To setup any language server , follow this guide https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md . For example if I needed clangd's lsp server , I'd install it first and add its setup line ( require'lspconfig'.clangd.setup{} ) in /lua/lsp_config/lua.lua file .
![image](https://user-images.githubusercontent.com/59060246/111027526-d43f5780-8416-11eb-87d2-6f85f5f2be6f.png)