mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 14:45:58 +01:00
Revert "plugins/treesiter: set up fold after basic
"
This reverts commit 92c94fda20
.
This commit is contained in:
parent
92c94fda20
commit
2941092470
1 changed files with 3 additions and 3 deletions
|
@ -37,11 +37,11 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# For some reason treesitter highlighting does not work on start
|
# For some reason treesitter highlighting does not work on start if this is set before syntax on
|
||||||
# if this is set before syntax on
|
configRC.treesitter-fold = mkIf cfg.fold (entryBefore ["basic"] ''
|
||||||
configRC.treesitter-fold = mkIf cfg.fold (entryAfter ["basic"] ''
|
|
||||||
set foldmethod=expr
|
set foldmethod=expr
|
||||||
set foldexpr=nvim_treesitter#foldexpr()
|
set foldexpr=nvim_treesitter#foldexpr()
|
||||||
|
set nofoldenable
|
||||||
'');
|
'');
|
||||||
|
|
||||||
luaConfigRC.treesitter = entryAfter ["basic"] ''
|
luaConfigRC.treesitter = entryAfter ["basic"] ''
|
||||||
|
|
Loading…
Reference in a new issue