fixed wrapping with telescope

This commit is contained in:
Oliver Hartmann 2023-10-04 20:24:01 +02:00
parent 713a7072b1
commit 81f8b66de4

View File

@ -213,5 +213,14 @@ return {
if vim.loop.os_uname().sysname == 'Windows_NT' then
vim.env.HOME = home
end
vim.api.nvim_create_autocmd('BufEnter', {
callback = function()
if vim.opt.foldmethod:get() == 'expr' then
vim.schedule(function()
vim.opt.foldmethod = 'expr'
end)
end
end,
})
end
}