tests/otter: add treesitter to avoid warning

This commit is contained in:
Gaetan Lepage 2024-07-29 00:14:36 +02:00
parent bae46eafd1
commit 820f8d58ea

View file

@ -1,38 +1,47 @@
{ {
empty = { empty = {
plugins.otter.enable = true; plugins = {
otter.enable = true;
# Avoid the warning
treesitter.settings.highlight.enable = true;
};
}; };
defaults = { defaults = {
plugins.otter = { plugins = {
enable = true; # Avoid the warning
treesitter.settings.highlight.enable = true;
settings = { otter = {
lsp = { enable = true;
hover = {
border = [ settings = {
"" lsp = {
"" hover = {
"" border = [
"" ""
"" ""
"" ""
"" ""
"" ""
]; ""
""
""
];
};
diagnostic_update_events = [ "BufWritePost" ];
}; };
diagnostic_update_events = [ "BufWritePost" ]; buffers = {
set_filetype = false;
write_to_disk = false;
};
strip_wrapping_quote_characters = [
"'"
"\""
"\`"
];
handle_leading_whitespace = false;
}; };
buffers = {
set_filetype = false;
write_to_disk = false;
};
strip_wrapping_quote_characters = [
"'"
"\""
"\`"
];
handle_leading_whitespace = false;
}; };
}; };
}; };