nixos-config/configs/home-manager/foo-dogsquared/modules/programs/nixvim/dev.nix

61 lines
959 B
Nix
Raw Normal View History

# NixVim config for some light software development. This is where language
# support plugins mainly reside.
{ config, pkgs, ... }:
{
plugins.treesitter.grammarPackages =
with config.plugins.treesitter.package.builtGrammars; [
agda
arduino
astro
awk
blueprint
cairo
cmake
commonlisp
csv
cue
dart
devicetree
diff
elixir
elm
erlang
fennel
fish
git_config
git_rebase
gitattributes
gitcommit
gitignore
gdscript
glsl
go
hcl
janet-simple
kotlin
make
nickel
perl
ruby
rust
scheme
sparql
sql
supercollider
wgsl
wgsl_bevy
zig
]
++ (with pkgs.tree-sitter-grammars; [
tree-sitter-elisp
tree-sitter-nu
]);
extraPlugins = with pkgs.vimPlugins; [
vim-nickel
vim-nix
zig-vim
];
}