fix(mini.comment): better lua pattern for tags. Fixes #1413

This commit is contained in:
Folke Lemaitre
2023-09-26 14:16:22 +02:00
parent f1af34e885
commit 7c79cfe073

View File

@ -191,6 +191,7 @@ return {
}, {}),
f = ai.gen_spec.treesitter({ a = "@function.outer", i = "@function.inner" }, {}),
c = ai.gen_spec.treesitter({ a = "@class.outer", i = "@class.inner" }, {}),
t = { "<([%p%w]-)%f[^<%w][^<>]->.-</%1>", "^<.->().*()</[^/]->$" },
},
}
end,