ardagnir / athame

Full vim for your shell (bash, zsh, gdb, python, etc)
GNU General Public License v3.0
1.62k stars 32 forks source link

zsh plugins do not refresh while typing #57

Closed klaxalk closed 8 months ago

klaxalk commented 6 years ago

While typing, the plugins such as zsh-autosuggestions and zsh-syntax-highlighting do not get the memo that the line has changed. However, their hooks apply just fine when autocompleting with "tab," so I suppose it should be possible.

I look into athame for a place where to possibly fix it. However, it is currently beyond my knowledge. If you could point me in the right direction, I will attempt to fix it.

ardagnir commented 6 years ago

This is because Athame only releases control to the main zsh loop for special chars like tab.

The best way to solve this is probably to find what Zsh function updates plugins on changes and call that for vim changes in Athame. The most difficult part is likely just figuring out what Zsh function does this.

klaxalk commented 6 years ago

Thanks, I understand. I will try to solve this.