tests/otter: add treesitter to avoid warning

This commit is contained in:
Gaetan Lepage
2024-08-01 08:13:36 +02:00
parent bae46eafd1
commit 820f8d58ea
+36 -27
View File
@@ -1,38 +1,47 @@
{
empty = {
plugins.otter.enable = true;
plugins = {
otter.enable = true;
# Avoid the warning
treesitter.settings.highlight.enable = true;
};
};
defaults = {
plugins.otter = {
enable = true;
plugins = {
# Avoid the warning
treesitter.settings.highlight.enable = true;
settings = {
lsp = {
hover = {
border = [
"╭"
"─"
"╮"
"│"
"╯"
"─"
"╰"
"│"
];
otter = {
enable = true;
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;
};
};
};