treesitter: make foldenable configurable

This commit is contained in:
Tom Vincent 2026-03-19 12:36:51 +00:00
commit 68b7df5065
No known key found for this signature in database
GPG key ID: AB184CDBE6AEACDE
3 changed files with 10 additions and 7 deletions

View file

@ -10,6 +10,7 @@ in {
enable = mkEnableOption "treesitter, also enabled automatically through language options";
fold = mkEnableOption "fold with treesitter";
foldByDefault = mkEnableOption "folding by default when a file is opened";
autotagHtml = mkEnableOption "autoclose and rename html tag";
grammars = mkOption {