TJ DeVries

Results 272 comments of TJ DeVries
trafficstars

Ah, or additionally, you could set `GIT_EDITOR` when opening the LazyGit command, and then unsetting (or reset to original) it when you're done. This would make it so you can...

Hmm... maybe this request doesn't make sense. Let me try it out for longer and I'll let you know if I run into anything.

Yeah, we have language injection, it's not too hard to add generally just via a query.

Although now I'm kind of thinking, what if you allowed a function to be passed that returned the virtual text chunk (so it could be text + highlights if you...

Well the thing I was thinking for the function was I kind of wanted to be able to do different highlights for the ` // ` at the beginning of...

The real issue is that you weren't there to watch the stream... :laughing:

Hey! I think the best way would probably add an autocmd on/before window close for the window that calls a lua function that was registered at startup.

Lua functions and vim script functions are interchangeable, so that parts fine :) Yes, autocommands are added with `nvim_command`. I think `on_close` is a parameter for the `vim` style of...

I haven't read the docs in a bit for this, but yeah, if you wanted to start implementing the features needed to eventually get `on_close` to work, that'd be fantastic....

Oh, I forgot to mention some items may require PRs sent to neovim core. I'd be happy to guide you or help out there.