Skip to content

Commit

Permalink
tests/luasnip: update to new format, remove deprecated settings
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN committed Dec 13, 2024
1 parent cbfecc9 commit a4783d3
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions tests/test-sources/plugins/by-name/luasnip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,14 @@
enable = true;

settings = {
history = true;
updateevents = "TextChanged,TextChangedI";
update_events = [
"TextChanged"
"TextChangedI"
];
keep_roots = true;
link_roots = true;
exit_roots = false;
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"
]
];
};
};
};
};
Expand Down

0 comments on commit a4783d3

Please sign in to comment.