Skip to content

Commit

Permalink
tests/otter: add treesitter to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Aug 1, 2024
1 parent bae46ea commit 820f8d5
Showing 1 changed file with 36 additions and 27 deletions.
63 changes: 36 additions & 27 deletions tests/test-sources/plugins/languages/otter.nix
Original file line number Diff line number Diff line change
@@ -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;

otter = {
enable = true;

settings = {
lsp = {
hover = {
border = [
"╭"
"─"
"╮"
"│"
"╯"
"─"
"╰"
"│"
];
settings = {
lsp = {
hover = {
border = [
"╭"
"─"
"╮"
"│"
"╯"
"─"
"╰"
"│"
];
};
diagnostic_update_events = [ "BufWritePost" ];
};
diagnostic_update_events = [ "BufWritePost" ];
};
buffers = {
set_filetype = false;
write_to_disk = false;
buffers = {
set_filetype = false;
write_to_disk = false;
};
strip_wrapping_quote_characters = [
"'"
"\""
"\`"
];
handle_leading_whitespace = false;
};
strip_wrapping_quote_characters = [
"'"
"\""
"\`"
];
handle_leading_whitespace = false;
};
};
};
Expand Down

0 comments on commit 820f8d5

Please sign in to comment.