disable formatting in telescope

that was weird
This commit is contained in:
Christoph J. Scherr 2024-07-09 15:28:43 +02:00
parent f5542cea1a
commit 549d1a16b0
1 changed files with 11 additions and 0 deletions

View File

@ -42,3 +42,14 @@ vim.api.nvim_create_autocmd('FileType', {
vim.opt_local.concealcursor = ''
end,
})
-- disable auto formatting for some filetypes
vim.api.nvim_create_autocmd('FileType', {
group = augroup,
pattern = {
'TelescopePrompt',
},
callback = function()
vim.opt_local.formatoptions = ''
end,
})