mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
plugins/treesitter: fix folding option
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
f473cee0d0
commit
250447e138
1 changed files with 1 additions and 1 deletions
|
|
@ -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()";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue