run :checkhealth and follow the instructions run :Codeium Auth and follow the instructions
This is a no-mason, no-icon (except maybe lazy but i use wezterm anyways), self-built statusline, "minimal" config.
- json-ls (pip3)
- prettier (npm)
npm i --location=global vscode-langservers-extracted
npm install --save-dev --save-exact prettier
- bash-language-server (npm)
npm i --location=global bash-language-server
- marksman (npm)
brew install marksman
- black (formatter) (pip)
- ruff (linter) (install in project venv) (to be able to detect dependencies in venvs)
- pyright (lsp, static type checker) (install in project venv) (to be able to detect dependencies in venvs)
- debugpy (dap) (install like below)
# global
pip3 install black
# in venv
pip3 install ruff pyright # or pip depending on your os
mkdir ~/.venv
cd ~/.venv
python3 -m venv nvim-python
nvim-python/bin/python -m pip install debugpy
use venv all the time btw
- stylua (formatter) (cargo install stylua)
- lua-ls (lsp) (brew install lua-language-server or just download the binary from its github page)
run rustup update first
- rustup
- rust-analyzer
rustup component add rust-analyzer
- rustfmt
rustup component add rustfmt
- cargo-watch
cargo install cargo-watch
- clippy
rustup component add clippy
- codelldb(rename extension to codelldb and put it in ~/.config/nvim/bin/)
- ghcup (installs all things)
- stylish-haskell (stack or cabal)
cabal install stylish-haskell
# or
stack install stylish-haskell
change the dev = { path = "" } } directory to where you store your own plugins. you can put your own plugins there.
to add a new language support you need to add the language in
lua/plugins/lsp.lua ensure_install
and formatters
if lsp doesn't support then add keymap in ftplugin
you can take a look at haskell
and treesitter
and linters lua/plugins/lsp.lua
and check if your lsp needs to be configured here: https://github.com/lvimuser/lsp-inlayhints.nvim
you might need to search for something like rust-tools or rust-analyzer 3rd-party plugins and see what do they do