Revert "plugins/treesiter: set up fold after basic"

This reverts commit 92c94fda20.
This commit is contained in:
raf 2024-04-25 01:36:58 +03:00
parent 92c94fda20
commit 2941092470
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -37,11 +37,11 @@ in {
];
};
# For some reason treesitter highlighting does not work on start
# if this is set before syntax on
configRC.treesitter-fold = mkIf cfg.fold (entryAfter ["basic"] ''
# For some reason treesitter highlighting does not work on start if this is set before syntax on
configRC.treesitter-fold = mkIf cfg.fold (entryBefore ["basic"] ''
set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr()
set nofoldenable
'');
luaConfigRC.treesitter = entryAfter ["basic"] ''