Our great sponsors
-
mini.nvim
Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
-
plenary.nvim
plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
-
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.
I can suggestion mini.test. Basic idea of a unit test is to create a child Neovim process, modify it (usually using syntax similar to vim.api.xxx but with child.api.xxx) and test some properties with expect. See more details in TESTING.md.
There is also test harness in nvim-lua/plenary.nvim with a slightly different design, but still usable of course.
I recently wrote a few tests here and it works with github actions as well.
Related posts
- How do I show Markdown headings in different colours?
- Question for lua Plugin devs.
- flirt.nvim - Plugin for working with floating windows (animations, mouse, etc)
- mini.animate - animate common Neovim actions (cursor movement, scroll, resize, window open/close)
- Introducing nvim-surround, a plugin for adding/changing/deleting surrounding delimiters