Closed andrewferrier closed 2 years ago
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:
mappings = {}
require'marks'.setup {
default_mappings
true
false
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).
marks.nvim
mappings
{}
default_mappings == false
Thanks for your work on this plugin! Seems great so far.
Whoops. Should be fixed in master, if you could check that -thanks!
Yep, looks good :) Thanks for the fast response ;)
If I do not include
mappings = {}
in myrequire'marks'.setup {
block, whetherdefault_mappings
is absent, set totrue
, orfalse
, I get this error:Probably
marks.nvim
should just defaultmappings
to{}
in this case (maybe an error ifdefault_mappings == false
).Thanks for your work on this plugin! Seems great so far.