Iron-E / nvim-libmodal

Create new "modes" for Neovim!
Other
118 stars 7 forks source link

fix error: invalid key lhsraw when restoring maps #17

Closed blob42 closed 2 years ago

blob42 commented 2 years ago

This change fixes the following error that I get when I try your example layer.lua My neovim version:

NVIM v0.8.0-dev-1023-g5ac665433
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Error executing vim.schedule lua callback: vim/keymap.lua:0: invalid key: lhsraw
stack traceback:
        [C]: in function 'nvim_set_keymap'
        vim/keymap.lua: in function 'set'
        ...ck/packer/start/nvim-libmodal/lua/libmodal/src/Layer.lua:155: in function <...ck/packer/start/nvim-libmodal/lua/libmodal/src/Layer.lua:155>
Iron-E commented 2 years ago

Thank you!

blob42 commented 2 years ago

thanks to you for this amazing plugin :)

On September 14, 2022 5:50:25 PM GMT+02:00, Iron-E @.***> wrote:

Thank you!

-- Reply to this email directly or view it on GitHub: https://github.com/Iron-E/nvim-libmodal/pull/17#issuecomment-1246969362 You are receiving this because you authored the thread.

Message ID: @.***>