-
a
String::to_str()
method which returns a&str
if the string contains valid UTF-8 data; -
a
WindowConfig::mouse
field and aWindowOptsBuilder::mouse()
method on nightly (#189); -
a
string!
macro that producesnvim_oxi::String
s from string literals; -
a
StringBuilder
struct that can be used to incrementally buildnvim_oxi::String
s;
-
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
- a
handle
method onBuffer
,Window
, andTabPage
which returns the underlying handle (#176);
- 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
-
support for Neovim 0.10;
-
the ability to return a
Result<(), T>
from thenvim_oxi::test
macro (#159); -
the optional
nvim-oxi
andcmd
attributes to thenvim_oxi::test
macro (#159); -
the optional
library_path
attribute to thenvim_oxi::test
macro (#164);
-
renamed the macro that marks the entrypoint of a plugin from
nvim_oxi::module
tonvim_oxi::plugin
(#142); -
nvim_oxi::api:echo()
now requires a 3rd parameter of typeEchoOpts
(#145);
- support for Neovim 0.8;
0.4.2 - Jan 29 2024
0.4.1 - Dec 16 2023
-
a new
ExtmarkVirtTextChunk
struct; -
an
Inline
variant to theExtmarkVirtTextPosition
enum when building forneovim-nightly
;
- the type of
ExtmarkInfos
'svirt_text
field fromOption<Vec<(String, OneOrMore<String>)>>
toVec<ExtmarkVirtTextChunk>
;