forked from daa84/neovim-gtk
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move over to using nvim-rs instead of neovim-lib
While neovim-lib was originally started for neovim-gtk, it hasn't really seen any new developments in quite a while now - while the fork of it, nvim-rs, seems to still be relatively active. Additionally, nvim-rs also just has a much cleaner API in general and is much more capable when it comes to cleanly handling errors and shutting our neovim instance down. So, let's do the initial work of moving over to using nvim-rs so that we can implement these aforementioned features. Note that we also get rid of neovim-gtk's concept of having both non-thread safe and thread-safe references to our Neovim<W> instance - something that's not really needed as nvim-rs ensures Neovim<W> itself is thread safe. And finally, we also add the NvimWriter wrapper - which simply wraps around ChildStdin as provided by tokio so that we can eventually support neovim instances connected via other means, such as TCP sockets.
- Loading branch information
Showing
21 changed files
with
486 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.