This configuration works with Php (Laravel, Symfony), Python (Django), Go, Kotlin, Markdown, Javascript/Typescript (Vue, Angular, React) and Flutter/Dart.
Install Neovim 0.12.2 using your package manager or downloading it from Neovim website and following these commands:
tar -xvzf nvim-linux-x86_64.tar.gzsudo mv nvim-linux-x86_64 /optAdd the following line to ~/.zshrc or ~/.bashrc
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"Close and open the terminal
-
Install NodeJS and NPM, I recommend use node version manager (nvm)
-
Install luarocks for compile some plugins
sudo apt install luarocks
-
Install ripgrep
sudo apt install ripgrep
-
Install fd-find
sudo apt install fd-find
-
Install fzf
sudo apt install fzf
-
Install Zoxide
sudo apt install zoxide
-
Install python3-pip
sudo apt install python3-pip
-
Install python3-venv
sudo apt install python3-venv
-
Install lazygit (optional)
sudo apt install lazygit
-
Install chafa (optional)
sudo apt install chafa
-
Install Flutter for autocomplete in dart files
-
Install jq for formatting of json files
sudo apt install jq
-
Install clang for tree-sitter-cli
sudo apt install clang
-
Install tree-sitter-cli (0.26.1 or later) via your package manager, not npm, or o alternatively use the following command: 2. Restart Neovim.
cargo install tree-sitter-cli --locked
-
The terminal Wezterm because this support true color and undercurl
-
Curl and Git >= 2.19
-
A Nerd Font(v3.0 or greater)
-
You must have PHP installed in your system.
sudo apt install php-cli php-common php-curl php-zip php-mbstring php-xml php-gd php-pear php-bcmath -y
| Plugins | Languages |
|---|---|
| coding.mini-surround | lang.angular |
| coding.neogen | lang.dart |
| dap.core | lang.docker |
| editor.aerial | lang.git |
| editor.fzf | lang.go |
| editor.mini-move | lang.json |
| test.core | lang.kotlin |
| util.dot | lang.markdown |
| formatting.prettier | lang.php |
| lang.python | |
| lang.sql | |
| lang.tailwind | |
| lang.toml | |
| lang.twig | |
| lang.typescript | |
| lang.typescript.vtsls | |
| lang.vue | |
| lang.yaml |
- You need to add lsp servers, formatters, linters, etc to
mason.luafile (You can see the lsp servers in the documentation page).
This configuration uses Copilot and Opencode for AI, but you can use other plugins in this page (ColinKennedy/neovim-ai-plugins)