I'm new to micro but wanted to use the bounce function to go back-and-forth between matching brackets. Added
"Ctrl-]": "lua:bounce.bounce"
to bindings.json, no effect. Changed to
"Ctrl-b": "lua:bounce.bounce", now when I press "Ctrl-B" with cursor on a bracket (actually, on any other character, too), I get:
bounce:35: invalid number of function arguments (2 expected, got 3)
stack traceback:
[G]: in function 'FindMatchingBrace'
bounce:35: in main chunk
[G]: ?
Press enter to continue
Any hints?
I'm new to
microbut wanted to use the bounce function to go back-and-forth between matching brackets. Added"Ctrl-]": "lua:bounce.bounce"
to bindings.json, no effect. Changed to
"Ctrl-b": "lua:bounce.bounce", now when I press "Ctrl-B" with cursor on a bracket (actually, on any other character, too), I get:
bounce:35: invalid number of function arguments (2 expected, got 3)
stack traceback:
[G]: in function 'FindMatchingBrace'
bounce:35: in main chunk
[G]: ?
Press enter to continue
Any hints?