Groovy-Emacs-Modes / groovy-emacs-modes

A groovy major mode, grails minor mode, and a groovy inferior mode.
84 stars 39 forks source link

Fix out of range error for line following shebang line #129

Closed djlindstr closed 6 years ago

djlindstr commented 6 years ago

A shebang line (e.g. #!/usr/bin/groovy) at the beginning of the file causes an "Args out of range" error when indenting the next line, since we assume that the comment delimiter is two characters but in this case it's just a "#".

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.006%) to 99.06% when pulling bde2115dd5d655dff224b13cf04a0757bf4caf47 on djlindstr:shebang-fix into c32f82dd3a11be5871a71e8ffac55022bbbc5cfb on Groovy-Emacs-Modes:master.

Wilfred commented 6 years ago

Thanks.