sassanh / qnvim

Neovim backend for Qt Creator
MIT License
136 stars 8 forks source link

Split core logic to the separate class, which assumes enabled state #54

Closed gikari closed 1 year ago

gikari commented 1 year ago

This change splits the core logic of the plugin into separate class, so that it can be easily enabled/disabled, so we do not have to check for enabled state in sync functions all the time.

This also have an advantage of plugin "hot-reloadiing": we do not need to restart Qt Creator if we want to reconnect to neovim, if the connection failed for some reason.

Notes

Test

sassanh commented 1 year ago

Deactivating the plugin works and cleans everything. When I activate the plugin, keyboard doesn't work for me. I will try to find out what's wrong with my setup as soon as possible.