-
-
Notifications
You must be signed in to change notification settings - Fork 250
Dependencies
You can check if you have all the dependencies with the command :checkhealth base
yazi # Necessary for file manager.
yarn # Necessary for Markmap.
rust # Necessary for any dependency that requires rust.
fd # Necessary for Spectre.
delta # Necessary for telescope-undo.
grcov # Necessary for test coverage.
jest # Necessary for neotest-jest
pytest # Necessary for neotest-python.
cargo-nextest # Nesessary for neotest-rust
dotnet-runtime # Necessary for neotest-dotnet
The next installation commands include all this + compiler.nvim dependencies + dooku.nvim dependencies.
If you are on arch linux
, you can just copy paste this on the terminal
paru -S --needed "luarocks" "python" "yazi" "fd" "git-delta" "grcov" "rustup" "yarn" "python-pytest" "gcc" "binutils" "dotnet-runtime" "dotnet-sdk" "aspnet-runtime" "mono" "jdk-openjdk" "dart" "kotlin" "elixir" "npm" "nodejs" "typescript" "make" "go" "nasm" "r" "nuitka" "python" "ruby" "perl" "lua" "pyinstaller" "swift-bin" "gcc-fortran" "fortran-fpm-bin" "doxygen" "ldoc" "ruby-yard"; yarn global add "jest" "jsdoc" "typedoc"; cargo install "cargo-nextest"; go install "golang.org/x/tools/cmd/godoc@latest"
If you are on Ubuntu
/Windows WLS
, you can just copy paste this on the terminal
sudo apt update; sudo apt install --install-if-missing "luarocks" "yarn" "rust-fd-find" "python-pytest" "delta" "rust-grcov" "rustup" "gcc-defaults" "binutils" "dotnet8" "monodevelop" "java-common" "nasm" "r-base" "rustc" "golang" "python" "ruby" "perl" "lua5.3" "kotlin" "elixir" "make" "nodejs" "npm" "node-typescript" "nuitka" "doxygen" "yard"; pip install "pyinstaller"; yarn global add "jest" "jsdoc" "typedoc"; cargo install "yazi-fm"; go install "golang.org/x/tools/cmd/godoc@latest"; sudo snap install --classic "flutter"
If you are on MacOS
, you can just copy paste this on the terminal
sudo brew install "luarocks" "fd" "git-delta" "rustup-init" "yarn" "gcc" "binutils" "dotnet" "mono" "openjdk" "dart-sdk" "kotlin" "elixir" "node" "typescript" "make" "rust" "go" "nasm" "r" "ruby" "perl" "lua" "swift" "pyinstaller" "doxygen"; sudo brew install --cask "dotnet-sdk" "flutter"; pip install "pytest" "Nuitka"; yarn add global "jest" "jsdoc" "typedoc"; cargo install "yazi-fm" "cargo-nextest" "grcov"; go install "golang.org/x/tools/cmd/godoc@latest"
If you are on Termux
, you can just copy paste this on the terminal
pkg update; pkg install "tur-repo"; pkg install "luarocks" "yazi" "python" "fd" "git-delta" "yarn" "mono" "openjdk-17" "dart" "kotlin" "elixir" "nodejs" "make" "rust" "golang" "nasm" "python" "ruby" "perl" "liblua52" "swift" "binutils-libs" "gcc-default" "doxygen"; pip install "pytest" "Nuitka"; yarn add global "jest" "typescript" "jsdoc" "typedoc"; cargo install "cargo-nextest" "git-delta" "grcov"; go install "golang.org/x/tools/cmd/godoc@latest"
You will have to manually install flutter, r, and dotnet as there is currently no termux package for them.
sudo dnf install "luarocks" "rust-fd-find" "rust-git-delta" "rustup" "python3-pytest" "gcc" "binutils" "dotnet6.0" "dotnet-runtime-6.0" "dotnet-sdk-6.0" "aspnetcore-runtime-6.0" "mono-complete" "java-21-openjdk" "elixir" "nodejs" "npm" "typescript" "make" "golang" "nasm" "R-rlang" "ruby" "perl" "lua" "swift-lang" "gcc-gfortran" "doxygen" "lua-ldoc" "rubygem-yard"; pip install "pytest" "Nuitka" "pyinstaller"; npm install -g "yarn" "jest" "typescript" "jsdoc" "typedoc"; cargo install "yazi-fm" "cargo-nextest" "grcov"; go install "golang.org/x/tools/cmd/godoc@latest"
- Copy/paste the arch dependencies into chatgpt.
- Then write:
"How can I install these dependencies on <distro>?"
.
Inside neovim press :
to enter a command, and copy paste this
:MasonInstall ansible-language-server angular-language-server asm-lsp asmfmt bash-debug-adapter bash-language-server checkmake codelldb clangd cmakelint csharpier cucumber-language-server debugpy delve docker-compose-language-service dockerfile-language-server elixir-ls eslint-lsp fantomas findent firefox-debug-adapter fortls fsautocomplete golangci-lint golangci-lint-langserver gopls google-java-format helm-ls html-lsp java-test json-lsp jq jsonlint kotlin-debug-adapter kotlin-language-server ktlint lua-language-server marksman matlab-language-server neocmakelsp netcoredbg omnisharp perlnavigator php-debug-adapter phpactor php-cs-fixer phpstan rubocop pyright autopep8 rust-analyzer selene shellcheck shfmt svelte-language-server stylua taplo typescript-language-server yaml-language-server yamllint yamlfmt zls
This enables LSP
, formatters
, linters
, and debuggers
for the 13 most common programming languages. The download is 2GB
. Expect it to take a while.
Inside neovim press :
to enter a command, and copy paste
:TSInstall all
This enable the new neovim motions and verbs.
- Don't worry if
:LSPInfo
don't show a formatter enabled for all languages. Some LSP servers know how to format.