NORMAL ~/wkd/p/lib :set skin=modern utf-8

lib.nvim

Reusable Lua and Neovim helpers — one tested base under a whole set of plugins. Extracted from a private Neovim configuration so that personal plugins can share a single set of helpers as a dependency instead of each carrying its own copy. It has no third-party dependencies — only vim and itself.

status
beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
category
Foundation
neovim
0.10+
repo
github.com/StefanBartl/lib.nvim
commits
730
help
:help lib

install

{
  "StefanBartl/lib.nvim",
  opts = {},
}

docs/

git log

  1. fix markdown.frontmatter: quote number-like strings in numbers mode, refuse prose blocks, unique temp name
  2. feat markdown.frontmatter: flat-YAML frontmatter parse/patch with byte-exact roundtrip
  3. refactor system.rpc_pipe: Windows detection through cross.platform.is_windows
  4. test system.rpc_pipe: restore env and stop pipes even when an assertion throws, clear PLENARY_TEST_TIMEOUT too
  5. fix system.rpc_pipe: do not export NVIM_LISTEN_ADDRESS by default (child nvims died), report the pipe name via get_address, opt-in export, spec
  6. feat window: focus_helpers absorbs debugging.nvim's duplicate copy
  7. fix ui.kit: message_log mirror -- 'more above' hint needs topfill to show
  8. fix ui.kit: message_log mirror -- resize-to-content + has_more_older fix
  9. fix messages: floor a fractional ring_size before it indexes the ring
  10. fix messages: revert the vim.ui_attach float-guard, it broke attach entirely
  11. docs messages: attach policy now checks noice's running state, not load state
  12. fix ui.kit: cap message_log entries, hoist its namespaces

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search the plugins
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :log · :stack
plugin list · activity stream · dependency graph
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close