mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
users/foo-dogsquared/programs/nixvim: add various language support
This commit is contained in:
parent
7736fd7059
commit
ce14a15863
@ -17,6 +17,7 @@ in
|
|||||||
./note-taking.nix
|
./note-taking.nix
|
||||||
]
|
]
|
||||||
++ lib.optionals userCfg.setups.development.enable [
|
++ lib.optionals userCfg.setups.development.enable [
|
||||||
|
./dev.nix
|
||||||
./lsp.nix
|
./lsp.nix
|
||||||
./dap.nix
|
./dap.nix
|
||||||
];
|
];
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
# 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
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user