We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
zX
1 parent e709d31 commit 4d0f5e0Copy full SHA for 4d0f5e0
1 file changed
lua/telescope/actions/set.lua
@@ -204,7 +204,7 @@ action_set.edit = function(prompt_bufnr, command)
204
-- HACK: fixes folding: https://github.com/nvim-telescope/telescope.nvim/issues/699
205
if vim.wo.foldmethod == "expr" then
206
vim.schedule(function()
207
- vim.opt.foldmethod = "expr"
+ vim.cmd "normal! zX"
208
end)
209
end
210
0 commit comments