Louis DeLosSantos

Results 303 comments of Louis DeLosSantos

I dont think this will work with "gh.nvim". For one, we use temp files to open diffs, so when you enter the diff, you CD to /tmp, and "gh" tool...

Id accept a pr which performs your suggestion.

Hmm, it gets a bit tricky since this is async lol, we need the Neovim instance to not "chdir" at all up until a pull request is opened as well....

The panels are normal Neovim windows. So use ":qa" instead. Just like if you had multiple neovim windows open and wanted to quit.

Ohhh this is cute. Hmm maybe this is worth adding to the WorkspaceController on start? Hide it behind a config flag like "auto_close" or something?

You could still catch the WinClosed event, but when you catch it, list all windows, search thru them, and if the only buffers you find in those Windows start with...

Why do you do the: ``` vim.cmd("wincmd c") ``` When "WinClosed" fires the window it matches for is already closed, why do you do the additional close of a window...

Aha! I must have read the docs wrong. Okay, and it appears that the event is not recursive. So I dont think youll fire an event from this event, for...

If your autocmd there works reliably, you can shove it right into the "WorkspaceController" init function I believe: https://github.com/ldelossa/nvim-ide/blob/e81fbd084f10b92bb6a4f62155e0fa1edbee9c7e/lua/ide/workspaces/workspace_controller.lua#L227 Guard it with a config flag, and lets see how that...