From b8ca31aa86f14220906398f790dcc63eafd93ea1 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 6 Mar 2026 11:35:30 -0500 Subject: [PATCH] fix(init): add `nowait` to buffer keymap opts Problem: Buffer-local mappings like `!` could be swallowed by Neovim's operator-pending machinery or by global maps sharing a prefix, since the keymap opts did not include `nowait`. Solution: Add `nowait = true` to the shared `opts` table used for all buffer-local mappings in `_setup_buf_mappings`. --- lua/pending/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/pending/init.lua b/lua/pending/init.lua index 36f5282..a10d72d 100644 --- a/lua/pending/init.lua +++ b/lua/pending/init.lua @@ -232,7 +232,7 @@ end function M._setup_buf_mappings(bufnr) local cfg = require('pending.config').get() local km = cfg.keymaps - local opts = { buffer = bufnr, silent = true } + local opts = { buffer = bufnr, silent = true, nowait = true } ---@type table local actions = {