1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-09 03:56:05 +01:00

plugins/treesitter: fix folding option

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-10-18 05:18:10 +02:00 committed by Matt Sturgeon
parent f473cee0d0
commit 250447e138

View file

@ -472,7 +472,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
opts = mkIf cfg.folding {
foldmethod = mkDefault "expr";
foldexpr = mkDefault "nvim_treesitter#foldexpr()";
foldexpr = mkDefault "v:lua.vim.treesitter.foldexpr()";
};
};
}