fix(examples): missing argument from `layer:unmap()`

pull/20/head
Iron-E 1 year ago
parent 83dc6c5433
commit c8fce913e5
No known key found for this signature in database
GPG Key ID: 83A6AEB40395D40D

@ -24,4 +24,4 @@ layer:map('n', '<Esc>', 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')

Loading…
Cancel
Save