All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Create our own Stdout for connecting to a parent neovim to avoid line buffering
- Updated API
- Updated dependencies
- Updated dependencies
- Updated API
- Extended UiOptions (thanks @fredizzimo)
- Updated dependencies
- Updated API (some breakage from neovim's side here)
- Improved some docs
- Added support for
ext_termcolors
(thanks @Lyude)
- Updated dependencies
- Updated API (some breakage from neovim's side here)
- Updated tokio to 1.*
- Added UiOption::ExtMessages
- Removed create::tokio::new_unix in favor of create::tokio::new_path, which also works on windows
- Requests/notifications are now handled in order of arrival (which is mainly important for notifications)
- Removed LoopError::SpawnError
-
Connecting to neovim via tcp or a unix-socket (unix only) is now supported again
-
The API has been updated to reflect neovim HEAD as of commit 161cdba.
-
The crate is now based on
futures
rather thantokio
to allow for different runtimes as far as possible. The features [use_tokio
] or [use_async-std
] can be used to get support for the 2 most popular rust runtimes, and give access to thecreate::tokio
orcreate::async_std
submodules that supply functionality to actually connect to neovim (depending on the features provided by the runtime library). -
The
Handler
trait now depends onClone
. The library used toArc
-wrap the handler anyways, so now the user has the possibility of using types that are cheaper to clone. -
CallError
has a new variantWrongType
to indicate that a message from neovim contained a value of the wrong type. Previously, the lib would panic in this case, now the user has the choice to handle it (or, more probably, log it properly and quit). -
LoopError
has an additional variantIoSpawn
that indicates that spawning another task with the handler has failed. -
The trait
FromVal
has been replaced byTryUnpack
. -
As a substitute for directly passing a runtime around, the
Handler
now needs to implementnvim-rs::create::Spawner
-
The function
new_parent
to connect to a parent neovim instance is nowasync
.
- Initial release