diff options
-rw-r--r-- | pygments/lexers/jvm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/jvm.py b/pygments/lexers/jvm.py index 259905e9..51f17ae0 100644 --- a/pygments/lexers/jvm.py +++ b/pygments/lexers/jvm.py @@ -438,7 +438,7 @@ class GroovyLexer(RegexLexer): tokens = { 'root': [ # Groovy allows a file to start with a shebang - (r'#!(.*?)$', Comment.Preproc), + (r'#!(.*?)$', Comment.Preproc, 'base'), (r'', Text, 'base'), ], 'base': [ |