From 66b7f138613107c0dda3ba6097f69193e244062b Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Wed, 7 Aug 2024 12:05:18 +0200 Subject: [PATCH] add treesitter-context and ts-autotag to treesitter --- modules/nixvim/plugins/treesitter.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/nixvim/plugins/treesitter.nix b/modules/nixvim/plugins/treesitter.nix index c10239f..cd9be42 100644 --- a/modules/nixvim/plugins/treesitter.nix +++ b/modules/nixvim/plugins/treesitter.nix @@ -1,9 +1,13 @@ { - plugins.treesitter = { - enable = true; - settings = { - indent.enable = true; + plugins = { + treesitter = { + enable = true; + settings = { + indent.enable = true; + }; + folding = true; }; - folding = true; + treesitter-context.enable = true; + ts-autotag.enable = true; }; }