feat: nvim new configs

This commit is contained in:
Rasyidan Akbar F. 2025-10-28 20:32:32 +07:00
commit 553ef00fa9
17 changed files with 447 additions and 96 deletions

View file

@ -9,16 +9,48 @@
withPython3 = true;
withRuby = true;
plugins = with pkgs.vimPlugins; [
# Native extensions that need building
telescope-fzf-native-nvim
blink-cmp # Pre-built with Rust backend for fast fuzzy matching
];
extraPackages = with pkgs; [
# LSP Servers
lua-language-server
nil # Nix LSP
pyright
nodePackages.typescript-language-server
rust-analyzer
gopls
clang-tools # provides clangd
# Formatters
stylua
nixfmt
stylua # Lua
nixfmt-classic # Nix (matches your fmt command)
ruff # Python (formatter + linter)
prettierd # JS/TS/JSON/YAML/Markdown
rustfmt # Rust
gofumpt # Go (stricter than gofmt)
shfmt # Shell scripts
# Linters
nodePackages.eslint # JavaScript/TypeScript
shellcheck # Shell scripts
# Tools
ripgrep
fd
git
ast-grep
# Additional tools for LazyVim features
tree-sitter # Required for treesitter parser compilation
imagemagick # Image conversion for snacks.nvim
ghostscript # PDF rendering support
tectonic # LaTeX math rendering
luarocks # Lua package manager for plugins
nodePackages.mermaid-cli # Mermaid diagram rendering
];
};