plugins/treesitter-context: reflect upstream options changes

This commit is contained in:
Gaetan Lepage 2023-08-25 15:09:44 +02:00 committed by Gaétan Lepage
parent d0cbfe92b3
commit b8c3385599
2 changed files with 105 additions and 36 deletions

View file

@ -0,0 +1,27 @@
{pkgs}: {
empty = {
plugins = {
treesitter.enable = true;
treesitter-context.enable = true;
};
};
default = {
plugins = {
treesitter.enable = true;
treesitter-context = {
enable = true;
maxLines = 0;
minWindowHeight = 0;
lineNumbers = true;
multilineThreshold = 20;
trimScope = "outer";
mode = "cursor";
separator = null;
zindex = 20;
onAttach = null;
};
};
};
}