Justin M. Keyes

Results 2414 comments of Justin M. Keyes

> Looks like using Github Copilot Chat opens MANY buffers while writing code, and that somehow breaks the vscode-neovim extension > > Steps to Reproduce: Ask Github Copilot Chat to...

vscode-neovim 1.18.13 includes an attempted [fix](https://github.com/vscode-neovim/vscode-neovim/pull/2282) for this issue. Please restart vscode and confirm that you are running vscode-neovim 1.18.13 , then report here if there is any improvement. That...

Thanks. If you see any `TypeError` messages ([like this](https://github.com/vscode-neovim/vscode-neovim/issues/2184#issuecomment-2369880327)) in vscode's "Extension Host" logs or [vscode-neovim's logs](https://github.com/vscode-neovim/vscode-neovim?tab=readme-ov-file#troubleshooting), they should now include more detail in the message, please post it here.

It seems obvious that the problem is that we start nvim with `--embed`, which uses stdio for transport... and some other part of vscode is writing to that transport (stdout)....

You can define a `VimEnter` event handler for vscode-neovim only, in your config. Example (untested, only shows the idea): ```vim if g:vscode " Set the global S mark when starting....

Try `UIEnter` instead of `VimEnter`. > When executing a backward search You specifically mentiond `code.cmd -r -g file:line` (starting from CLI); why are you now mentioning "backward search"? Thinking more...

@xiyaowong WDYT about my [suggestion](https://github.com/vscode-neovim/vscode-neovim/issues/2281#issuecomment-2407827012) ? Currently VimEnter/UIEnter are missing the initial files open in vscode (`:args` does not list them, they are not in `v:argv`, etc.), which seems like...

> this requirement is not about passing the initialized document to nvim, as stated in the modified title, right That might be the "XY problem" for the narrow use-case that...

The user's logs show: `source c:\\Users\\USER\\...` (slashes escaped) and `-u C:\Users\USER\AppData\...` (slashes not escaped). Need something similar to: https://github.com/vscode-neovim/vscode-neovim/blob/4df0f6e3a61285ed7e090ceb6d1253288a4b092f/src/main_controller.ts#L171 (though it should just replace with `/` instead of `\\\\`)