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.
1 parent 8c69f58 commit 205f469Copy full SHA for 205f469
1 file changed
lua/telescope/actions/set.lua
@@ -201,6 +201,13 @@ action_set.edit = function(prompt_bufnr, command)
201
end
202
203
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"
208
+ end)
209
+ end
210
+
211
local pos = vim.api.nvim_win_get_cursor(0)
212
if col == nil then
213
if row == pos[1] then
0 commit comments