nix-community.nixvim/tests/test-sources/plugins/languages/treesitter/treesitter-context.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
573 B
Nix
Raw Normal View History

{
empty = {
plugins = {
treesitter.enable = true;
treesitter-context.enable = true;
};
};
default = {
plugins = {
treesitter.enable = true;
treesitter-context = {
enable = true;
settings = {
enable = true;
max_lines = 0;
min_window_height = 0;
line_numbers = true;
multiline_threshold = 20;
trim_scope = "outer";
mode = "cursor";
separator = null;
zindex = 20;
on_attach = null;
};
};
};
};
}