mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
plugins/treesitter-context: reflect upstream options changes
This commit is contained in:
parent
d0cbfe92b3
commit
b8c3385599
2 changed files with 105 additions and 36 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue