Added ts-autotag and changed treesitter config

This commit is contained in:
EsVagy42 2026-03-08 13:47:35 +01:00
parent 167efe5a88
commit 25d2639897
4 changed files with 44 additions and 5 deletions

View file

@ -15,6 +15,7 @@
./bufferline.nix ./bufferline.nix
./ts-comments.nix ./ts-comments.nix
./flash.nix ./flash.nix
./ts-autotag.nix
]; ];
opts = { opts = {
number = true; number = true;

View file

@ -1,4 +1,8 @@
{ plugins = { treesitter-context = { {
enable = true; plugins = {
settings.zindex = 5; treesitter-context = {
}; }; } enable = true;
settings.zindex = 5;
};
};
}

View file

@ -2,7 +2,36 @@
plugins = { plugins = {
treesitter = { treesitter = {
enable = true; enable = true;
settings = { highlight.enable = true; }; settings = {
highlight.enable = true;
indent.enable = true;
folds.enable = true;
ensure_installed = [
"bash"
"c"
"diff"
"html"
"javascript"
"jsdoc"
"json"
"lua"
"luadoc"
"luap"
"markdown"
"markdown_inline"
"printf"
"python"
"query"
"regex"
"toml"
"tsx"
"typescript"
"vim"
"vimdoc"
"xml"
"yaml"
];
};
}; };
}; };
} }

5
config/ts-autotag.nix Normal file
View file

@ -0,0 +1,5 @@
{
plugins.ts-autotag = {
enable = true;
};
}