From 510219d59c1b9b0e744e2ae30451cac364cd0f2e Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 12 Oct 2025 12:43:09 +0200 Subject: [PATCH] feat(neovim): install treesitter grammars properly. --- modules/cross-platform/home-manager/neovim.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/cross-platform/home-manager/neovim.nix b/modules/cross-platform/home-manager/neovim.nix index 450e28a..94230ed 100644 --- a/modules/cross-platform/home-manager/neovim.nix +++ b/modules/cross-platform/home-manager/neovim.nix @@ -289,7 +289,11 @@ in { helpview-nvim.package = helpview-nvim; }; - extraPackages = with pkgs.vimPlugins; [nvim-treesitter-parsers.qmljs]; + treesitter.grammars = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [ + qmljs + kdl + regex + ]; }; }; };