mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-29 14:28:18 +02:00
update readme
This commit is contained in:
parent
301a2cb67f
commit
d6543a623a
1 changed files with 9 additions and 21 deletions
30
README.md
30
README.md
|
@ -60,21 +60,10 @@ $HOME/.config/nvim/vimscript/nv-vscode/init.vim
|
||||||
|
|
||||||
## LSP
|
## LSP
|
||||||
|
|
||||||
Some example language servers, if you just install them they will work
|
To install a supported language server:
|
||||||
with this config
|
|
||||||
|
|
||||||
``` bash
|
```
|
||||||
npm i -g pyright
|
:LspInstall <your_language_server>
|
||||||
npm i -g bash-language-server
|
|
||||||
npm install -g vscode-css-languageserver-bin
|
|
||||||
npm install -g dockerfile-language-server-nodejs
|
|
||||||
npm install -g graphql-language-service-cli
|
|
||||||
npm install -g vscode-html-languageserver-bin
|
|
||||||
npm install -g typescript typescript-language-server
|
|
||||||
npm install -g vscode-json-languageserver
|
|
||||||
npm install -g vim-language-server
|
|
||||||
npm install -g yaml-language-server
|
|
||||||
npm install markdownlint --save-dev
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For a more in depth LSP support:
|
For a more in depth LSP support:
|
||||||
|
@ -104,26 +93,25 @@ pynvim
|
||||||
neovim-remote
|
neovim-remote
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Formatters and Linters
|
||||||
|
|
||||||
**Python**
|
**Python**
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
pyright
|
pip3 install --user flake8
|
||||||
flake8
|
pip3 install --user yapf
|
||||||
yapf
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Lua**
|
**Lua**
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
ninja
|
luarocks install --server=https://luarocks.org/dev luaformatter
|
||||||
lua-format
|
|
||||||
sumneko-lua
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Yaml, Json, Javascript, HTML, CSS**
|
**Yaml, Json, Javascript, HTML, CSS**
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
prettier
|
npm install -g prettier
|
||||||
```
|
```
|
||||||
|
|
||||||
**Markdown**
|
**Markdown**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue