As the plugin is now, the kakoune session freezes while the preview is compiled. This is not a problem if a users computer is fast enough, but on slower machines it is a hassle. The following link may be a hint towards a solution:
https://discuss.kakoune.com/t/start-subprocess-from-kakoune/1704
I will look at this myself at some point, and create a PR if I succeed at getting it working.
As the plugin is now, the kakoune session freezes while the preview is compiled. This is not a problem if a users computer is fast enough, but on slower machines it is a hassle. The following link may be a hint towards a solution:
https://discuss.kakoune.com/t/start-subprocess-from-kakoune/1704
I will look at this myself at some point, and create a PR if I succeed at getting it working.