From 4131b9b116d6264aceb41bf405335a58e8463b45 Mon Sep 17 00:00:00 2001 From: Leonhard Kost Date: Sun, 6 Jul 2025 20:43:27 +0200 Subject: [PATCH] Add treesitter to nixvim --- modules/home-manager/nixvim.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/home-manager/nixvim.nix b/modules/home-manager/nixvim.nix index 9a745a4..8956242 100644 --- a/modules/home-manager/nixvim.nix +++ b/modules/home-manager/nixvim.nix @@ -100,6 +100,15 @@ }; }; + plugins.treesitter = { + enable = true; + settings = { + auto_install = true; + highlight.enable = true; + indent.enable = true; + }; + }; + plugins.which-key = { enable = true; lazyLoad = { @@ -108,6 +117,10 @@ }; }; + extraPackages = with pkgs; [ + gcc + ]; + extraPlugins = with pkgs.vimPlugins; [ vim-sleuth ];