nix-community.nixvim/tests/test-sources/plugins/by-name/indent-blankline/default.nix

107 lines
2.1 KiB
Nix
Raw Normal View History

{
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"
];
2024-05-05 19:39:35 +02:00
buftypes = [
"terminal"
"quickfix"
];
};
};
};
};
defaults = {
plugins.indent-blankline = {
enable = true;
settings = {
debounce = 200;
viewport_buffer = {
min = 30;
max = 500;
};
indent = {
char = "";
tab_char = null;
highlight = null;
smart_indent_cap = true;
priority = 1;
};
whitespace = {
highlight = null;
remove_blankline_trail = true;
};
scope = {
enabled = true;
char = null;
show_start = true;
show_end = true;
show_exact_scope = false;
injected_languages = true;
highlight = null;
priority = 1024;
include = {
2024-05-05 19:39:35 +02:00
node_type = { };
};
exclude = {
2024-05-05 19:39:35 +02:00
language = [ ];
node_type = {
2024-05-05 19:39:35 +02:00
"*" = [
"source_file"
"program"
];
lua = [ "chunk" ];
python = [ "module" ];
};
};
};
exclude = {
filetypes = [
"lspinfo"
"packer"
"checkhealth"
"help"
"man"
"gitcommit"
"TelescopePrompt"
"TelescopeResults"
"\'\'"
];
buftypes = [
"terminal"
"nofile"
"quickfix"
"prompt"
];
};
};
};
};
}