Awesome
commons.nvim
<p> <a href="https://github.com/neovim/neovim/releases/v0.9.0"><img alt="require" src="https://img.shields.io/badge/require-0.9%2B-blue" /></a> <a href="https://luarocks.org/modules/linrongbin16/commons.nvim"><img alt="luarocks" src="https://img.shields.io/luarocks/v/linrongbin16/commons.nvim" /></a> <a href="https://github.com/linrongbin16/commons.nvim/actions/workflows/ci.yml"><img alt="ci.yml" src="https://img.shields.io/github/actions/workflow/status/linrongbin16/commons.nvim/ci.yml?label=ci" /></a> <a href="https://app.codecov.io/github/linrongbin16/commons.nvim"><img alt="codecov" src="https://img.shields.io/codecov/c/github/linrongbin16/commons.nvim/main?label=codecov" /></a> </p> <p align="center"><i> The commons lua library for Neovim plugin project. </i></p>This lua library includes multiple modules:
- Utilities for lua tables, strings, numbers and other data structures.
- File IO & path operations.
- URL encode/decode.
- 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 keeps up with the latest Neovim stable version, support until the last legacy version, earlier versions are dropped for maintenance reason, i.e. (at the time of writing, 2024-05-27), stable is 0.10, last legacy is 0.9, nightly is 0.11, thus this plugin supports 0.9+.
Please check documentation for more details.
Embedded Libraries
- _system.lua: Neovim vim.system() source file.
- uri.lua: Neovim vim.uri_encode() source file.
- async.lua: Small aync 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