nix-community.nixvim/plugins
Heitor Augusto b1cfeb4f34 plugins/lz-n: add support for keymap(<plugin>).set API
Add a new `keymaps` option to the lz-n plugin that allows users to define
keymaps that use lz.n's keymap(<plugin>).set functionality. This enables
users to create keymaps that lazy-load plugins when specific keys are pressed,
using the familiar vim.keymap.set() API style.

The implementation:
- Adds a new `keymaps` option using mkMapOptionSubmodule with a custom plugin property
- Exposes a simple and consistent interface for configuring lazy-loaded keymaps
- Processes these keymaps to generate corresponding Lua code with require('lz.n').keymap().set()
- Cleanly separates plugin specs from keymap definitions while preserving their relationship
2025-05-09 01:14:36 +01:00
..
by-name plugins/oil-git-status: init 2025-05-09 00:19:09 +02:00
cmp modules/dependencies: add fish 2025-04-11 08:51:45 +10:00
colorschemes colorschemes/kanagawa-paper: init 2025-05-04 20:42:00 +01:00
lsp plugins/lsp: correct motivation for onAttach alias impl 2025-05-08 15:51:18 +01:00
pluginmanagers plugins/lz-n: add support for keymap(<plugin>).set API 2025-05-09 01:14:36 +01:00
default.nix colorschemes/kanagawa-paper: init 2025-05-04 20:42:00 +01:00
deprecation.nix plugins/deprecations: move codeium enable option renames to top level deprecations 2025-04-20 07:55:12 +10:00
TEMPLATE.nix flake-modules/new-plugin: sync with plugins/TEMPLATE.nix 2025-05-08 13:04:38 -05:00