nix-community.nixvim/tests/test-sources/plugins/by-name/origami/default.nix

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

49 lines
903 B
Nix
Raw Normal View History

2025-05-02 00:47:09 +02:00
{
empty = {
plugins.origami.enable = true;
};
defaults = {
plugins.origami = {
enable = true;
settings = {
2025-07-07 15:32:16 +02:00
useLspFoldsWithTreesitterFallback = true;
2025-05-02 00:47:09 +02:00
pauseFoldsOnSearch = true;
2025-07-07 15:32:16 +02:00
foldtext = {
enabled = true;
padding = 3;
lineCount = {
template = "%d lines";
hlgroup = "Comment";
};
diagnosticsCount = true;
gitsignsCount = true;
2025-05-02 00:47:09 +02:00
};
autoFold = {
2025-07-07 15:32:16 +02:00
enabled = true;
2025-05-02 00:47:09 +02:00
kinds = [
"comment"
"imports"
];
};
2025-07-07 15:32:16 +02:00
foldKeymaps = {
setup = true;
hOnlyOpensOnFirstColumn = false;
};
2025-05-02 00:47:09 +02:00
};
};
};
example = {
2025-07-07 15:32:16 +02:00
plugins.origami = {
enable = true;
2025-05-02 00:47:09 +02:00
2025-07-07 15:32:16 +02:00
settings = {
pauseFoldsOnSearch = true;
setupFoldKeymaps = false;
2025-05-02 00:47:09 +02:00
};
};
};
}