From c8fce913e518fec68886238fcf750cfcf9e7e5e6 Mon Sep 17 00:00:00 2001 From: Iron-E Date: Mon, 20 Feb 2023 14:47:57 -0500 Subject: [PATCH] fix(examples): missing argument from `layer:unmap()` --- examples/lua/layer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/lua/layer.lua b/examples/lua/layer.lua index d92fc2e..9e00acb 100644 --- a/examples/lua/layer.lua +++ b/examples/lua/layer.lua @@ -24,4 +24,4 @@ layer:map('n', '', function() layer:exit() end, {}) layer:enter() --[[ unmap `gg`. Notice that now both `gg` and `G` return the cursor to the top. ]] -layer:unmap('n', 'gg') +layer:unmap(nil, 'n', 'gg')