jackMort / jackMort/ChatGPT.nvim

docstring dropping the context

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

Description

If do 'vaf' to select the current function, and then :ChatGPTRun docstring, then I get just a comment rather than a comment + the original function/context.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported flow by selecting a function with `vaf` and running `:ChatGPTRun docstring`. Trace that command's handling of the selected function and context, then verify that the result includes both the generated comment and the original function/context.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.