mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
Merge branch 'main' of github.com:siduck76/NvChad
This commit is contained in:
commit
5f5563e7c7
1 changed files with 3 additions and 4 deletions
|
@ -146,10 +146,9 @@ 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.
|
- 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.
|
||||||
|
|
||||||
```
|
```
|
||||||
npm config set prefix=~/.node_modules
|
install the languages you want , check [lspInstal-repo](https://github.com/kabouzeid/nvim-lspinstall)
|
||||||
npm install -g vscode-html-languageserver-bin typescript typescript-language-server vscode-css-languageserver-bin prettier
|
|
||||||
|
example - :LspInstall html
|
||||||
(ADD ~/.node_modules/bin 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 :
|
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 :
|
||||||
|
|
Loading…
Reference in a new issue