jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.57k stars 307 forks source link

Disable folding in ChatGPTEditWithInstructions. #294

Open malashinroman opened 9 months ago

malashinroman commented 9 months ago

Greetings! I would like to disable folding for chatgpt folding. For telescope we do this:

vim.api.nvim_create_autocmd("FileType", { pattern = "TelescopeResults", command = [[setlocal nofoldenable]] })

It seems that for ChatGPT.nvim plugin we don't have filetype names and this trick doesn't work.

PS I asked ChatGPT at it didn't help :)