jackMort / jackMort/ChatGPT.nvim

Disable folding in ChatGPTEditWithInstructions.

Open
#294 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

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 :)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the ChatGPTEditWithInstructions entry point and inspect how its buffer or window is created. Reproduce the folding behavior in Neovim, then verify that folding is disabled for this view without affecting unrelated buffers.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.