update nvim about lsp
This commit is contained in:
@@ -9,13 +9,35 @@
|
||||
|
||||
## Installtion
|
||||
|
||||
vim
|
||||
### vim
|
||||
|
||||
```sh
|
||||
ln -sf dotfiles/.vimrc ~/.vimrc
|
||||
```
|
||||
|
||||
zsh
|
||||
### nvim
|
||||
|
||||
```sh
|
||||
ln -sf dotfiles/nvim ~/.config/nvim
|
||||
```
|
||||
|
||||
#### install lsp server
|
||||
|
||||
install `pyright`
|
||||
|
||||
```sh
|
||||
python -m venv venv
|
||||
|
||||
pip install pyright
|
||||
```
|
||||
|
||||
install `ts_ls`
|
||||
|
||||
```sh
|
||||
npm install -g typescript typescript-language-server
|
||||
```
|
||||
|
||||
### zsh
|
||||
|
||||
```sh
|
||||
touch ~/.zshrc
|
||||
@@ -25,7 +47,7 @@ ln -sf dotfiles/zsh ~/.config/zsh
|
||||
echo "source ~/.config/zsh" > ~/.zshrc
|
||||
```
|
||||
|
||||
yazi
|
||||
### yazi
|
||||
|
||||
```sh
|
||||
ln -sf dotfiles/yazi ~/.config/yazi
|
||||
|
||||
Reference in New Issue
Block a user