Skip to content

problem using 'bounce' #7

@msz59

Description

@msz59

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions