mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
28 lines
499 B
Nix
28 lines
499 B
Nix
|
{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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|