dart_nvim_api 0.1.0 copy "dart_nvim_api: ^0.1.0" to clipboard
dart_nvim_api: ^0.1.0 copied to clipboard

outdated

Neovim API for Dart

Dart Nvim API #

Neovim API implementation for Dart, based on and inspired by neovim-lib. Still a WIP, so any feedback, contributions, etc. are greatly appreciated.

NOTE: Currently, this library only supports asynchronous calls to Neovim. This is due to how Dart's Socket class (used internally by the Session class here), is best used with async/await. However, I do plan to (attempt) creating a blocking implementation, so feel free to open an issue on the topic if you have any suggestsions or want to help.

Contributing #

Changes to the Neovim class (and other changes in lib/dart_nvim_api.dart) should be done in the template file gen_bindings/dart_nvim_api.dart. To generate lib/dart_nvim_api.dart do the following from the project root (requires pip in addition to python v3.7.4. Note that older versions of Python 3 may work, I just haven't tested them):

$ pip install -g datetime jinja2
# Replacing <nvim binary path> as necessary:
$ python gen_bindings/gen_bindings.py <nvim binary path> 'lib/'

Changes to any other files can be done as usual.

4
likes
0
points
46
downloads

Publisher

unverified uploader

Weekly Downloads

Neovim API for Dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta, msgpack_dart

More

Packages that depend on dart_nvim_api