gp.nvim icon indicating copy to clipboard operation
gp.nvim copied to clipboard

Bug: GpAppend/Rewrite stalls nvim in windows terminal inside a python file

Open skyroor opened this issue 10 months ago • 1 comments

I am having an issue when trying to use GpAppend or GpRewrite in a python files, system fans ramp, and nvim comes to a halt accepting no inputs, forcing me to shutdown the terminal.

I've tested GpChatNew, blank files, and text files without issues. Disabling all other plugins does not resolve the issue.

When testing python files in WSL2/Ubuntu the issue does NOT persist.

Issue platform:

  • Windows Terminal
  • Powershell 7.4.1
  • NVIM v0.9.5 / Build type: RelWithDebInfo / LuaJIT 2.1.1703942320

:checkhealth - gp.nvim - all ok (except sox)

Looking for ways to test this issue and gather any proper info/logs to find the root issue and potential solutions.

skyroor avatar Apr 03 '24 05:04 skyroor

Same issue here. It stalls in a python file on windows. It accepts no inputs when it happens. Chat is running ok. I erased nvim-data folder for a fresh run and it didn't work neither. My nvim settings can be found here

milseg avatar Apr 14 '24 01:04 milseg

@skyroor @milseg sorry for keeping Windows a second class citizen. I've finally got around to installing Windows instance in VM and manged to get nvim working in it.

The freezing should be fixed now, it was caused by an embarrassing bug in a while loop searching for root of a git repository (stop condition was a unix only root dir). :man_facepalming:

Robitx avatar Aug 06 '24 00:08 Robitx

@Robitx It works for me ;-)

milseg avatar Aug 06 '24 15:08 milseg

@milseg thx for the confirm.

Robitx avatar Aug 06 '24 15:08 Robitx

@Robitx confirmed working for me as well! no worries on the delay, thank you for the update!

skyroor avatar Aug 06 '24 17:08 skyroor