-
Notifications
You must be signed in to change notification settings - Fork 18
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
filling block comments produces "unexpected end of comment block" error #7
Comments
It looks like this is the relevant documentation page:
|
Well, this solves it without writing any code. M-x package-install RET filladapt RET
|
Actually, this is also needed: (setq filladapt-token-table
'(("^" beginning-of-line)
(">+" citation->)
("\\(\\w\\|[0-9]\\)[^'`\"<
]*>[ ]*" supercite-citation)
(";+" lisp-comment)
;; Added this line
("--" lisp-comment)
("#+" sh-comment)
("%+" postscript-comment)
("///*" c++-comment)
("@c[ ]" texinfo-comment)
("@comment[ ]" texinfo-comment)
("\\\\item[ ]" bullet)
("[0-9]+\\.[ ]" bullet)
("[0-9]+\\(\\.[0-9]+\\)+[ ]" bullet)
("[A-Za-z]\\.[ ]" bullet)
("(?[0-9]+)[ ]" bullet)
("(?[A-Za-z])[ ]" bullet)
("[0-9]+[A-Za-z]\\.[ ]" bullet)
("(?[0-9]+[A-Za-z])[ ]" bullet)
("[-~*+]+[ ]" bullet)
("o[ ]" bullet)
("[ ]+" space)
("$" end-of-line))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I open a new mode Lean buffer and put in contents as follows:
/- xxx xxxx xx.xxxxx xx xxxx xx xxxxxx xxx xxxxxxxxx xxxxxxxxx xxxxx, xxxxx xxxxx xxx xxxx xxxxxxxx xxxxxxxxxxxxx. -/
Then push M-q with the cursor anywhere on that line. I get:
Flycheck now notices an error,
unexpected end of comment block (lean-checker)
(details via M-xflycheck-list-errors
on the second line).This behaviour could be improved, though I'm not immediately sure what the programming solution is, the expected output would be
The text was updated successfully, but these errors were encountered: