- Initial version
- Make function names for the
Buffer
,Tabpage
, andWindow
classes camelcase. - Fix an issue where API functions which were supposed to return
a
Buffer
,Tabpage
, orWindow
would returnnull
instead.
- Additions
attachUi
function in theNeovim
class for attaching an external UI to Neovim.- Travis.
- Documentation for
Neovim
class (not finished yet, mainly waiting on neovim/neovim#1139 and a subsequent PR adding a way to get the documentation on each API function from Neovim). - Classes for each type of
ui_event
from Neovim. example
directory with a short example (shown in README).
- Changes
- Moved
Neovim
class fromlib/dart_nvim_api.dart
tolib/src/neovim.dart
to be more consistent with idiomatic Dart library structure. - Updated README to show latest library version from pub.dev
- Moved
- Added
Session.fromCurrentStdinStdout()
function and an optional flag (communicateWithParentProcess
) to theNeovim
class (see docs for more info).
- Fixed an issue where functions which returned
List
s (e.g.Buffer().getLines
would throw an error sayingtype 'List<dynamic>' is not a subtype of type 'List<String>' in type cast
or similar.
Neovim
class has been renamed toNvim
- Neovim instance is spawned via
await Nvim.spawn()
- Now a Neovim instance that communicates to Neovim via current stdin/stdout is gotten with
await Nvim.child()
- Buffer/Window/Tabpage APIs are within the Nvim API, so
await nvim.bufGetName(buf)
is used instead ofawait buf.getName()
, and likewise for the window and tabpage APIs. - More/better tests
- Various internal changes
- Errors from Neovim when calling API functions are now forwarded to the caller via exceptions.
- Add way to override onNotify and onRequest handlers after initialization of
Nvim