Skip to content

linrongbin16/commons.nvim

Repository files navigation

commons.nvim

require luarocks ci.yml codecov

The commons lua library for Neovim plugin project.

This lua library includes multiple modules:

  • Utilities for lua tables, strings, numbers and other data structures.
  • File IO & path operations.
  • Spawn child-process & coroutine.
  • Logging system with python-logging like features.
  • Colors & syntax highlight utilities, HSL calculation & terminal rendering.
  • Compatible APIs support Neovim versions from last legacy to nightly.

Note

This library only supports latest stable and nightly version, since there are many API level break changes and limitations that are hard to keep compatible behavior in old Neovim versions in lua side.

Please check documentation for more details.

Embedded Libraries

  • async.nvim: Small async library for Neovim plugins.
  • colors.lua: HSL Color Theory Computation in Lua.

Contribute

Please open issue/PR for anything about commons.nvim.

Likes commons.nvim? Consider

Github Sponsor Wechat Pay Alipay