Dimfred / resize-mode.nvim

25 stars 1 forks source link

Indicate in the UI that the resize mode is active #5

Closed SimonBrandner closed 2 months ago

SimonBrandner commented 2 months ago

Perhaps https://github.com/Iron-E/nvim-libmodal could help

Dimfred commented 2 months ago

Mhh, sry dunno what you mean by that? Do you mean that you would like to have an indicator that the resize mode is active?

If so, you can create your own indicator for on_enter and on_leave.

SimonBrandner commented 2 months ago

Yep, that is what I meant. It took me a while to figure out a hack to do it as someone who just started learning NeoVim... Perhaps an integration with something like https://github.com/Iron-E/nvim-libmodal would help

Dimfred commented 2 months ago

That's not a hack that literally what the functions are for. To do whatever you need :) Don't really see the integration with a modal plugin, I personally don't care about a modal and don't need that. And yeah again thats what the hooks are for. I don't want to force anything on anyone, everyone just integrates as he pleases.

SimonBrandner commented 2 months ago

Fair