Disable folding for Telescope results
This commit is contained in:
parent
544b5a44a2
commit
9b0b8321c5
1 changed files with 4 additions and 1 deletions
|
|
@ -33,4 +33,7 @@ vim.api.nvim_create_autocmd('BufWinLeave', {
|
||||||
command = [[:call clearmatches()]],
|
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]],
|
||||||
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue