update readme

This commit is contained in:
Chris 2021-03-23 19:58:43 -04:00
parent 301a2cb67f
commit d6543a623a

View file

@ -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**