Athrun-Judah / nvim_config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my-nvim-config

第一次折腾nvim

平台是win11+wsl2(Ubuntu22.04tls)

nvim(0.7.0以上)

需要node环境

packer.nvim下载地址git clone --depth 1 https://github.com/wbthomason/packer.nvim\ ~/.local/share/nvim/site/pack/packer/start/packer.nvim

treesitter需要安装cc,gcc,clang,zig等 (应该安装其一就可以)

sumneko_lua需要安装unzip use lua_ls instead

telescope.nvim快速搜索依赖 ripgrepfd

安装ripgrep:
sudo add-apt-repository ppa:x4121/ripgrep

sudo apt-get update

sudo apt install ripgrep

安装fd:
npm install -g fd-find

前端需要安装prettier eslint
npm install -D prettier eslint

注:nvim-lsp-installer 会报 attempt to call method "setup_lsp" (a nil value),要么注销掉init.lua中的 setup.lua,要么另寻他法。

About


Languages

Language:Lua 100.0%