mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +02:00
plugins/indent-blankline: add extraOptions option + test
This commit is contained in:
parent
7ad1288fdd
commit
1262c0d54f
2 changed files with 122 additions and 38 deletions
66
tests/test-sources/plugins/utils/indent-blankline.nix
Normal file
66
tests/test-sources/plugins/utils/indent-blankline.nix
Normal file
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.indent-blankline.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.indent-blankline = {
|
||||
enable = true;
|
||||
|
||||
char = "│";
|
||||
charBlankline = "";
|
||||
charList = [];
|
||||
charListBlankline = [];
|
||||
charHighlightList = [];
|
||||
spaceCharBlankline = " ";
|
||||
spaceCharHighlightList = [];
|
||||
spaceCharBlanklineHighlightList = [];
|
||||
useTreesitter = false;
|
||||
indentLevel = 10;
|
||||
maxIndentIncrease = 10;
|
||||
showFirstIndentLevel = true;
|
||||
showTrailingBlanklineIndent = true;
|
||||
showEndOfLine = false;
|
||||
showFoldtext = true;
|
||||
disableWithNolist = false;
|
||||
filetype = [];
|
||||
filetypeExclude = ["lspinfo" "packer" "checkhealth" "help" "man" ""];
|
||||
buftypeExclude = ["terminal" "nofile" "quickfix" "prompt"];
|
||||
bufnameExclude = [];
|
||||
strictTabs = false;
|
||||
showCurrentContext = false;
|
||||
showCurrentContextStart = false;
|
||||
showCurrentContextStartOnCurrentLine = true;
|
||||
contextChar = "│";
|
||||
contextCharBlankline = "";
|
||||
contextCharList = [];
|
||||
contextCharListBlankline = [];
|
||||
contextHighlightList = [];
|
||||
charPriority = 1;
|
||||
contextStartPriority = 10000;
|
||||
contextPatterns = [
|
||||
"class"
|
||||
"^func"
|
||||
"method"
|
||||
"^if"
|
||||
"while"
|
||||
"for"
|
||||
"with"
|
||||
"try"
|
||||
"except"
|
||||
"arguments"
|
||||
"argument_list"
|
||||
"object"
|
||||
"dictionary"
|
||||
"element"
|
||||
"table"
|
||||
"tuple"
|
||||
"do_block"
|
||||
];
|
||||
useTreesitterScope = false;
|
||||
contextPatternHighlight = {};
|
||||
viewportBuffer = 10;
|
||||
disableWarningMessage = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue