From f969879cd88558f09fd67d64cff371d659aabd30 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Tue, 6 Jan 2026 07:44:54 +0100 Subject: [PATCH] Revert "vimPlugins.kulala.nvim: 5.3.3-unstable-2025-12-16 -> 5.3.3-unstable-2025-12-25" --- .../editors/vim/plugins/generated.nix | 6 +++--- .../editors/vim/plugins/overrides.nix | 1 + .../kulala-nvim/do-not-install-grammar.patch | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 pkgs/applications/editors/vim/plugins/patches/kulala-nvim/do-not-install-grammar.patch diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 0774f577f4c4..397830a50101 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -7328,12 +7328,12 @@ final: prev: { kulala-nvim = buildVimPlugin { pname = "kulala.nvim"; - version = "5.3.3-unstable-2025-12-25"; + version = "5.3.3-unstable-2025-12-16"; src = fetchFromGitHub { owner = "mistweaverco"; repo = "kulala.nvim"; - rev = "cd3eaa83b8d60533837202dede73238334d71832"; - hash = "sha256-xyhhvWLF+k+QG7GYOHEdmusZWsHlFg5O3np0a8pT2SU="; + rev = "9fc4831a116fb32b0fd420ed483f5102a873446a"; + hash = "sha256-A5yNW1XLLoSmsT8/7qB+SGguE7IMmcwv6tnhbF6nb2Y="; fetchSubmodules = true; }; meta.homepage = "https://github.com/mistweaverco/kulala.nvim/"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index c0e94b15e074..40e371956232 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -1591,6 +1591,7 @@ assertNoAdditions { dependencies = [ kulala-http-grammar ]; buildInputs = [ curl ]; + patches = [ ./patches/kulala-nvim/do-not-install-grammar.patch ]; postPatch = '' substituteInPlace lua/kulala/config/defaults.lua \ --replace-fail 'curl_path = "curl"' 'curl_path = "${lib.getExe curl}"' diff --git a/pkgs/applications/editors/vim/plugins/patches/kulala-nvim/do-not-install-grammar.patch b/pkgs/applications/editors/vim/plugins/patches/kulala-nvim/do-not-install-grammar.patch new file mode 100644 index 000000000000..00a76f9c0492 --- /dev/null +++ b/pkgs/applications/editors/vim/plugins/patches/kulala-nvim/do-not-install-grammar.patch @@ -0,0 +1,15 @@ +diff --git a/lua/kulala/config/init.lua b/lua/kulala/config/init.lua +index 7298f95..d781a12 100644 +--- a/lua/kulala/config/init.lua ++++ b/lua/kulala/config/init.lua +@@ -122,6 +122,10 @@ local function setup_treesitter_master() + end + + local function set_kulala_parser() ++ assert(vim.treesitter.language.add("kulala_http")) ++ vim.treesitter.language.register("kulala_http", { "http", "rest" }) ++ do return end ++ + local parsers = vim.F.npcall(require, "nvim-treesitter.parsers") + + if not parsers then