`mappings` does not default correctly even if `default_mappings` is set
Closed this issue · 2 comments
andrewferrier commented
If I do not include mappings = {}
in my require'marks'.setup {
block, whether default_mappings
is absent, set to true
, or false
, I get this error:
E5113: Error while calling lua chunk: ...fig/nvim/pack/packager/opt/marks.nvim/lua/marks/init.lua:112: bad argument #1 to 'pairs' (table expec
ted, got nil)
Probably marks.nvim
should just default mappings
to {}
in this case (maybe an error if default_mappings == false
).
Thanks for your work on this plugin! Seems great so far.
chentoast commented
Whoops. Should be fixed in master, if you could check that -thanks!
andrewferrier commented
Yep, looks good :) Thanks for the fast response ;)