m4xshen / hardtime.nvim

A Neovim plugin helping you establish good command workflow and quit bad habit
MIT License
1.12k stars 26 forks source link

Hint timeout #82

Open weeebdev opened 3 months ago

weeebdev commented 3 months ago

add hint_time that would hide the hint after the timeout.

Sergih28 commented 2 months ago

I'm Interested in this feature too! :smile:

I'm willing to help if I'm guided as my Lua and neovim plugin development knowledge is quite limited.

m4xshen commented 2 months ago

@Sergih28 are you using nvim-notify? This plugin provides a timeout option which can achieve this.

Sergih28 commented 2 months ago

@m4xshen Not right now as I had it as part of Noice but disabled it for now as I was tired of so many notifications. I can look into it again if I can achieve the timeout with that though :smiley: :+1:

m4xshen commented 2 months ago

Noice.nvim uses nvim-notify as dependency then that should work. You can create a timeout config option and use it at this line.