- gcc make curl wget tar gzip unzip cmake git cargo nodejs
- nodejs/npm: >= 16
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- create .bash_profile (the one executed during login) before exe this command
nvm install --lts
Version c3e176f6e24e2b97603b59bb89b125d540e1274d
with inlay-hint
- download the prebuilt version with correct glibc version
- extract and add it to the env:
export PATH=".../nvim/bin/:$PATH"
git clone --recursive https://github.com/dddddjent/Nvim-configuration.git ~/.config/nvim/
cd ~/.config/nvim
- Fonts are under fonts/ directory
Mason may need:
- python venv/cmake
- go
- nodejs/npm: >= 16
None of the servers are installed automatically! (except lua-ls)
- Read lsp/init.lua to install servers
- ninja
- clangd:
clang-format -style=webkit -dump-config > .clang-format
Maybe stubs need to be installed manually in Lazy
- Pyright can only work in root (workspace) mod?
It seems like rust-src
is necessary for rust-analyzer to work properly
- zstd If you want to install zls using Mason. It needs this to decompress it on Windows
- Something cannot be installed from Mason: + Verilator, for verilog (svlangserver needs it to lint)
<leader>dr
: reload tasks<leader>dR
: reload dap launches<leader>pC
: setup task.json&launch.jsontp
: open up jsons
- Add the name in lsp/init.lua
- Add alternative options in servers/
lspconfig
: for nvim-lspconfigis_format_disabled
: to disable the format capabilitiesensure_installed
: whether install automatically
- Add the name in lsp/init.lua
- Add the config in null-ls.lua
- Add a new adapter
- See if you need extra mappings to map adapter to the filetype
Appdata/Local/nvim
Appdata/Local/nvim-data
The locale of the system should be changed to force UTF-8 (the default is gb2312)
- Otherwise it will not compile
Nerd font has windows compatible versions. Install that one (check the name of it!)
Only cl.exe or clang? right now can compile the correct win32 dll, so install it.
fzf native can't work properly on windows (can't recognize win32 dll)
- To let it create a history, uncheck
vim.opt.shellslash = true
in option.lua when you run it the first time. - rg has changed
--hidden
before version 14. It can't accept--hidden=true
anymore.
Mason can only install the servers built on node and python
- Install lua-language-server manually
- cmake-language-server is not able to install by mason. So far 0.1.7 has been the latest version that can run on my windows
It seems like you have to do npm install in app folder of that plugin manually?
- If it doesn't work, then remove the plugin and don't let it install automatically