plugins/ts-autotag: init + test

This commit is contained in:
Gaetan Lepage 2023-06-01 10:31:35 +02:00 committed by Gaétan Lepage
parent 535fc7d5d3
commit df25456aaa
3 changed files with 146 additions and 0 deletions

View file

@ -0,0 +1,56 @@
{
empty = {
plugins = {
treesitter.enable = true;
ts-autotag.enable = true;
};
};
default = {
plugins = {
treesitter.enable = true;
ts-autotag = {
enable = true;
filetypes = [
"html"
"javascript"
"typescript"
"javascriptreact"
"typescriptreact"
"svelte"
"vue"
"tsx"
"jsx"
"rescript"
"xml"
"php"
"markdown"
"astro"
"glimmer"
"handlebars"
"hbs"
];
skipTags = [
"area"
"base"
"br"
"col"
"command"
"embed"
"hr"
"img"
"slot"
"input"
"keygen"
"link"
"meta"
"param"
"source"
"track"
"wbr"
"menuitem"
];
};
};
};
}