Skip to content

Latest commit

 

History

History
93 lines (58 loc) · 2.57 KB

CHANGELOG.md

File metadata and controls

93 lines (58 loc) · 2.57 KB

Changelog

Added

  • a String::to_str() method which returns a &str if the string contains valid UTF-8 data;

  • a WindowConfig::mouse field and a WindowOptsBuilder::mouse() method on nightly (#189);

  • a string! macro that produces nvim_oxi::Strings from string literals;

  • a StringBuilder struct that can be used to incrementally build nvim_oxi::Strings;

Changed

  • nvim_oxi::api::echo is now generic over the highlight group type instead of expecting a string slice;

  • renamed the lua_<Foo> types to <Foo>;

0.5.1 - June 23 2024

Added

  • a handle method on Buffer, Window, and TabPage which returns the underlying handle (#176);

Removed

  • the following methods were included in Neovim 0.10 as experimental, but have subsequently been removed on nightly:
    • nvim_oxi::api::SetExtmarkOptsBuilder::scoped()
    • nvim_oxi::api::Window::add_ns()
    • nvim_oxi::api::Window::get_ns()
    • nvim_oxi::api::Window::del_ns()

0.5.0 - May 28 2024

Added

  • support for Neovim 0.10;

  • the ability to return a Result<(), T> from the nvim_oxi::test macro (#159);

  • the optional nvim-oxi and cmd attributes to the nvim_oxi::test macro (#159);

  • the optional library_path attribute to the nvim_oxi::test macro (#164);

Changed

  • renamed the macro that marks the entrypoint of a plugin from nvim_oxi::module to nvim_oxi::plugin (#142);

  • nvim_oxi::api:echo() now requires a 3rd parameter of type EchoOpts (#145);

Removed

  • support for Neovim 0.8;

0.4.2 - Jan 29 2024

0.4.1 - Dec 16 2023

Added

  • a new ExtmarkVirtTextChunk struct;

  • an Inline variant to the ExtmarkVirtTextPosition enum when building for neovim-nightly;

Changed

  • the type of ExtmarkInfos's virt_text field from Option<Vec<(String, OneOrMore<String>)>> to Vec<ExtmarkVirtTextChunk>;

0.4.0 - Dec 11 2023