Skip to content

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.

Notifications You must be signed in to change notification settings

rauleite/dart-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Configuration for Dart Development �

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.

Features ✨

  • 🎨 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

Plugins 📦

Core

Plugin Purpose
lazy.nvim Modern plugin manager
mason.nvim LSP/DAP/linter installer
mason-lspconfig.nvim Bridge between Mason and LSP

UI

Plugin Purpose
catppuccin Soothing pastel theme
neo-tree.nvim File explorer
nvim-web-devicons Filetype icons
which-key.nvim Keybindings helper

Editing

Plugin Purpose
nvim-cmp Autocompletion
cmp-nvim-lsp LSP completions
cmp-path Path completions
nvim-autopairs Auto-close brackets

Utilities

Plugin Purpose
telescope.nvim Fuzzy finder
plenary.nvim Lua utilities
nui.nvim UI components
nvim-window-picker Window selection

Language

Plugin Purpose
flutter-tools.nvim Dart e Flutter

LSP Support 🌐

  • dart (via plugin flutter-tools.nvim)
  • bashls
  • lua_ls
  • yamlls

All managed through mason.nvim + native nvim-lspconfig.

Installation 💻

  1. Backup your old config:
    mv ~/.config/nvim ~/.config/nvim.bak
  2. Clone this repo:
    git clone https://github.com/rauleite/dart-nvim ~/.config/nvim
  3. Start Neovim and let lazy.nvim auto-install plugins:
    nvim

LSP-Specific Requirements

LSP Dependencies Installation
dart Flutter SDK Flutter SDK
bashls shellcheck (required)
• shfmt (recommended)
Instructions
lua_ls None
yamlls None

About

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.

Resources

Stars

Watchers

Forks

Languages