From 34a0ac7af3e8ea20ff7caaf1358038ef81768a9a Mon Sep 17 00:00:00 2001 From: moons-14 Date: Wed, 11 Mar 2026 21:10:57 +0900 Subject: [PATCH] nixvim: add nvim-ts-autotag plugin Co-Authored-By: Claude Sonnet 4.6 --- .../home/nixvim/plugins/editor/treesitter.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/modules/home/nixvim/plugins/editor/treesitter.nix b/modules/home/nixvim/plugins/editor/treesitter.nix index 335418d..62b8fd4 100644 --- a/modules/home/nixvim/plugins/editor/treesitter.nix +++ b/modules/home/nixvim/plugins/editor/treesitter.nix @@ -1,9 +1,16 @@ -{...}: { - programs.nixvim.plugins.treesitter = { - enable = true; - settings = { - highlight.enable = true; - indent.enable = true; +{ pkgs, ... }: { + programs.nixvim = { + plugins.treesitter = { + enable = true; + settings = { + highlight.enable = true; + indent.enable = true; + }; }; + + extraPlugins = [ pkgs.vimPlugins.nvim-ts-autotag ]; + extraConfigLua = '' + require("nvim-ts-autotag").setup() + ''; }; }