mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
tests/otter: add treesitter to avoid warning
This commit is contained in:
parent
bae46eafd1
commit
820f8d58ea
1 changed files with 36 additions and 27 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue