Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't comment lines with '%<number>' -- comment:58: invalid capture index #32

Open
AndydeCleyre opened this issue May 7, 2020 · 0 comments

Comments

@AndydeCleyre
Copy link

micro 2.0.3
comment 1.0.0

$ mkdir newconf
$ micro -config-dir newconf filename

Type lines:

one
two
%3

Try commenting each, with alt+/. Commenting the third line fails:

comment:58: invalid capture index
stack traceback:
        [G]: in function 'gsub'
        comment:58: in function 'commentLine'
        comment:96: in main chunk
        [G]: ?

Press enter to continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant