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 "#".
Coverage increased (+0.006%) to 99.06% when pulling bde2115dd5d655dff224b13cf04a0757bf4caf47 on djlindstr:shebang-fix into c32f82dd3a11be5871a71e8ffac55022bbbc5cfb on Groovy-Emacs-Modes:master.
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 "#".