plugins/luasnip: add tests

This commit is contained in:
Gaetan Lepage 2024-08-04 11:23:36 +02:00 committed by GaetanLepage
parent 25da1220ad
commit 0f7817876a

View file

@ -0,0 +1,31 @@
{
empty = {
plugins.luasnip.enable = true;
};
example = {
plugins.luasnip = {
enable = true;
settings = {
history = true;
updateevents = "TextChanged,TextChangedI";
enable_autosnippets = true;
ext_opts = {
"__rawKey__require('luasnip.util.types').choiceNode".active.virt_text = [
[
""
"GruvboxOrange"
]
];
"__rawKey__require('luasnip.util.types').insertNode".active.virt_text = [
[
""
"GruvboxBlue"
]
];
};
};
};
};
}