Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Over the past few days, I've been working on a library to simplify the development of Neovim plugins in Rust. I started writing nvim-utils when I was working on moveline but realized how many bindings I would need to interact with the Lua API using the mlua crate. Separating the bindings into a separate crate was the only logical option.
I considered nvim-rust-utils but didn't want to include "rust" in a crate name on crates.io, and I think the crate name and repo should match.
Do you have a concrete example of this? For any functions that return numbers or booleans it is basically free. Strings and tables need an extra allocation (used to be more until I improved it with https://github.com/neovim/neovim/pull/19877) but if you're getting buffer text then you need to allocate anyway.
Related posts
- rust-analyzer significantly slowing down compilation
- Choose Neovim to open files in file explorer?
- Is there a terminal emulator that has non standard key codes? so that Tab is different than Ctrl+i and other clashing codes.
- Show HN: Ecode – A minimalist and fast open-source code editor
- error when opening rust file on 0.8