~/.config/nvim/init.vim
- fzf:
brew install fzf
- fd:
brew install fd
- rg:
brew install ripgrep
- 安装
vim-plug
- 执行
PlugInstall
- Python:
CocInstall coc-pyright
- Golang:
CocInstall coc-go
- Json:
CocInstall coc-json
- Sql:
CocInstall coc-sql
- color:
CocInstall coc-highlight
- spell-checker:
CocInstall coc-spell-checker
cocUpdate 报错: certificate has expired
- Python:
TSInstall python
- Golang:
TSInstall go
- Proto:
TSInstall proto
- Lua:
TSInstall lua
- SQL:
TSInstall sql
- Markdow
TSInstall markdown
- MarkdowInline
TSInstall markdown_inline
- protobuf lint & format:
brew install bufbuild/buf/buf
- clang-format:
brew install clang-format
install:
git clone https://github.com/github/copilot.vim.git \
~/.config/nvim/pack/github/start/copilot.vim
setup:
:Copilot setup
- 从 vim-plug 切换到 lazy.nvim,安装 treesitter 会报错,删掉
$NVIM-HOME/lib/nvim/parser/
下所有的.so
文件即可。 nvim-tree
删除报找不到trash
,通过此命令安装依赖:brew install trash