This commit is contained in:
2025-12-04 15:14:09 -05:00
parent b81a57ddb8
commit 73fbc14e7a
6 changed files with 65 additions and 16 deletions

View File

@@ -2,9 +2,17 @@
config,
lib,
inputs,
pkgs,
...
}: let
utils = inputs.nixCats.utils;
kulala-grammer = pkgs.tree-sitter.buildGrammar {
language = "kulala_http";
version = "${pkgs.vimPlugins.kulala-nvim.version}";
src = "${pkgs.vimPlugins.kulala-nvim}/lua/tree-sitter";
generate = true;
};
in {
imports = [
inputs.nixCats.homeModule
@@ -79,6 +87,9 @@ in {
gitlab = with pkgs; [
gitlab-ci-ls
];
http = with pkgs; [
kulala-fmt
];
};
# This is for plugins that will load at startup without using packadd:
@@ -88,6 +99,10 @@ in {
# but as a demo, we do it anyway.
lze
lzextras
(nvim-treesitter.withPlugins (
plugins:
nvim-treesitter.allGrammars ++ [kulala-grammer]
))
snacks-nvim
gruvbox-nvim
gruber-darker-nvim
@@ -119,7 +134,6 @@ in {
mini-nvim
nvim-lspconfig
blink-cmp
nvim-treesitter.withAllGrammars
gitsigns-nvim
harpoon2
which-key-nvim
@@ -129,6 +143,9 @@ in {
nvim-dap-ui
nvim-dap-virtual-text
];
http = with pkgs.vimPlugins; [
kulala-nvim
];
};
# shared libraries to be added to LD_LIBRARY_PATH
@@ -198,6 +215,7 @@ in {
c = true;
csharp = true;
gitlab = true;
http = true;
};
# anything else to pass and grab in lua with `nixCats.extra`
extra = {