update nvim about lsp

This commit is contained in:
gin
2026-05-31 09:22:49 +08:00
parent a751b6fb7b
commit 45e2eeb8f9
6 changed files with 319 additions and 3 deletions
+25 -3
View File
@@ -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