We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee020b8 commit 086891dCopy full SHA for 086891d
lua/neorg/modules/core/concealer/module.lua
@@ -1336,7 +1336,8 @@ local function handle_init_event(event)
1336
local wo = vim.wo[event.window]
1337
wo.foldmethod = "expr"
1338
wo.foldexpr = vim.treesitter.foldexpr and "v:lua.vim.treesitter.foldexpr()" or "nvim_treesitter#foldexpr()"
1339
- wo.foldtext = "v:lua.require'neorg'.modules.get_module('core.concealer').foldtext()"
+ wo.foldtext = utils.is_minimum_version(0, 10, 0) and ""
1340
+ or "v:lua.require'neorg'.modules.get_module('core.concealer').foldtext()"
1341
1342
local init_open_folds = module.config.public.init_open_folds
1343
local function open_folds()
0 commit comments