My Neovim (0.11+
) setup optimized for Dart development, using native LSP (no third-party LSP plugins), lazy.nvim
for package management, and a curated selection of plugins.
- 🎨 Theme:
catppuccin
(soothing colorscheme) - ⚡ Fast: Lazy-loaded plugins with
lazy.nvim
- 🧩 Native LSP: No wrapper plugins (pure
nvim-lspconfig
) - 🛠 Essential Tools:
- File explorer:
neo-tree.nvim
- Fuzzy finder:
telescope.nvim
- Snippets & completions:
nvim-cmp
ecosystem - Quality-of-life: autopairs, window picker, which-key
- File explorer:
Plugin | Purpose |
---|---|
lazy.nvim | Modern plugin manager |
mason.nvim | LSP/DAP/linter installer |
mason-lspconfig.nvim | Bridge between Mason and LSP |
Plugin | Purpose |
---|---|
catppuccin | Soothing pastel theme |
neo-tree.nvim | File explorer |
nvim-web-devicons | Filetype icons |
which-key.nvim | Keybindings helper |
Plugin | Purpose |
---|---|
nvim-cmp | Autocompletion |
cmp-nvim-lsp | LSP completions |
cmp-path | Path completions |
nvim-autopairs | Auto-close brackets |
Plugin | Purpose |
---|---|
telescope.nvim | Fuzzy finder |
plenary.nvim | Lua utilities |
nui.nvim | UI components |
nvim-window-picker | Window selection |
Plugin | Purpose |
---|---|
flutter-tools.nvim | Dart e Flutter |
dart
(via plugin flutter-tools.nvim)bashls
lua_ls
yamlls
All managed through mason.nvim
+ native nvim-lspconfig
.
- Backup your old config:
mv ~/.config/nvim ~/.config/nvim.bak
- Clone this repo:
git clone https://github.com/rauleite/dart-nvim ~/.config/nvim
- Start Neovim and let lazy.nvim auto-install plugins:
nvim
LSP | Dependencies | Installation |
---|---|---|
dart |
Flutter SDK | Flutter SDK |
bashls |
shellcheck (required) • shfmt (recommended) |
Instructions |
lua_ls |
None | – |
yamlls |
None | – |