Update README.md

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

View file

@ -54,6 +54,9 @@ 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 . 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
![image](https://user-images.githubusercontent.com/59060246/111027526-d43f5780-8416-11eb-87d2-6f85f5f2be6f.png) .
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)