Function notify

Source
pub fn notify(lua: &Lua, msg: &str, log_level: LogLevel) -> LuaResult<()>
Available on crate feature vim only.
Expand description

Corresponds to vim.notify()

ยงExample

use nvim_utils::prelude::*;
fn my_module(lua: &mlua::prelude::Lua) -> mlua::prelude::LuaResult<()> {
    vim::notify(lua, "Loaded module!", vim::log::LogLevel::Info)
}