1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/tests/test-sources/plugins/by-name/indent-blankline/default.nix
saygo-png 79d53a50e2 tests: use __empty and __raw
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-05 21:26:13 +00:00

106 lines
2.2 KiB
Nix

{
empty = {
plugins.indent-blankline.enable = true;
};
example = {
plugins.indent-blankline = {
enable = true;
settings = {
indent = {
char = "";
};
scope = {
show_start = false;
show_end = false;
show_exact_scope = true;
};
exclude = {
filetypes = [
""
"checkhealth"
"help"
"lspinfo"
"packer"
"TelescopePrompt"
"TelescopeResults"
"yaml"
];
buftypes = [
"terminal"
"quickfix"
];
};
};
};
};
defaults = {
plugins.indent-blankline = {
enable = true;
settings = {
debounce = 200;
viewport_buffer = {
min = 30;
max = 500;
};
indent = {
char = "";
tab_char.__raw = "nil";
highlight.__raw = "nil";
smart_indent_cap = true;
priority = 1;
};
whitespace = {
highlight.__raw = "nil";
remove_blankline_trail = true;
};
scope = {
enabled = true;
char.__raw = "nil";
show_start = true;
show_end = true;
show_exact_scope = false;
injected_languages = true;
highlight.__raw = "nil";
priority = 1024;
include = {
node_type.__empty = { };
};
exclude = {
language.__empty = { };
node_type = {
"*" = [
"source_file"
"program"
];
lua = [ "chunk" ];
python = [ "module" ];
};
};
};
exclude = {
filetypes = [
"lspinfo"
"packer"
"checkhealth"
"help"
"man"
"gitcommit"
"TelescopePrompt"
"TelescopeResults"
"\'\'"
];
buftypes = [
"terminal"
"nofile"
"quickfix"
"prompt"
];
};
};
};
};
}