plenary.nvim

plenary.nvim

github.com

1

About this website

plenary.nvim is an all-purpose Lua utility library for Neovim plugin development, created by TJ DeVries (a Neovim core team member). With over 3,000 stars as of 2026, plenary.nvim serves as the foundational dependency for hundreds of Neovim plugins (including Telescope, Gitsigns, nvim-lspconfig, and many others), providing common utilities that are too small for their own package but too useful to rewrite in every plugin. The library provides modules for: asynchronous programming (plenary.async with async/await syntax, futures, and control flow utilities like collect_all for parallel execution), job control (plenary.job for spawning and managing external processes with stdin/stdout/stderr handling, timeout support, and environment variable configuration), file I/O (plenary.path providing a cross-platform Path object with methods for join, read, write, exists, is_dir, is_file, mkdir, rm, copy, and relative path computation), testing framework (plenary.test with test.run, test.describe, and test.it for BDD-style testing, supporting parameterized tests, before_each/after_each hooks, and minimal assertions), popup windows (plenary.popup for creating floating windows with configurable borders, padding, and positioning), floats (plenary.window.float for centered floating windows), curl (plenary.curl for HTTP requests within Neovim, wrapping curl with a Lua-friendly API), strings (plenary.strings with utilities like truncate, align, dedent, and title_case), functional programming (plenary.functional with partial application, compose, map, filter, reduce), and logging (plenary.log with configurable log levels, file output, and console formatting).

Tags & Categories

Statistics

1
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!