-
-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins/treesitter-context: reflect upstream options changes
- Loading branch information
1 parent
d0cbfe9
commit b8c3385
Showing
2 changed files
with
104 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
tests/test-sources/plugins/languages/treesitter/treesitter-context.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
}; | ||
}; | ||
} |