Disable folding for Telescope results

This commit is contained in:
Sonny Bakker 2022-09-03 08:56:12 +02:00
parent 544b5a44a2
commit 9b0b8321c5

View file

@ -33,4 +33,7 @@ vim.api.nvim_create_autocmd('BufWinLeave', {
command = [[:call clearmatches()]],
})
-- TODO: disable folding for Telescope lines, see https://github.com/nvim-telescope/telescope.nvim/issues/991#issuecomment-882059894
vim.api.nvim_create_autocmd('Filetype', {
pattern = 'TelescopeResults',
command = [[:setlocal nofoldenable]],
})