-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major improvements #29
base: main
Are you sure you want to change the base?
Conversation
I'll check it out! |
This PR breaks the live preview for Subvert. When I run LSubvert on this branch, I do not get any live preview. I do get live-preview on the current main branch. I do not see any crashes though, so that's OK. |
37606be
to
db3294e
Compare
Thanks for your feedback. I fixed an issue in the implementation and I hope the |
cc37d38
to
85f7d8b
Compare
29a0244
to
c0592db
Compare
e34f8f5
to
d55ad8b
Compare
Hi @smjonas ! This branch seems to work very well, although my lualine still flickers at times with |
This PR aims to significantly improve the command preview functionality by addressing highlighting and responsiveness issues present in the current implementation. Previously,
vim.cmd
was called from the preview callback to execute the command in the current Nvim instance due to the command being run from command mode.To resolve these issues, the new approach implemented in this PR is to spawn a separate Neovim instance to execute the commands, making the command execution completely independent from the current instance. Of course, this may have some performance implications since a new Nvim instance has to be created in the
setup
function. Thus, I am looking for feedback on your experience and any issues you may encounter. But generally, the new implementation seems to work a lot better.You can try out this feature by using the
remote
branch. I am pinging any of the users involved in the related issues, and would ask you to leave feedback if you are interested: @mateiadrielrafael, @gregorias, @nfrid, @emmanueltouzery, @sibouras, @AckslDCloses #6, closes #16, closes #24. closes #28.
TODO: