diff options
author | Gaurav Jain <gaurav@gauravjain.org> | 2014-05-14 03:08:31 -0400 |
---|---|---|
committer | Gaurav Jain <gaurav@gauravjain.org> | 2014-05-14 03:08:31 -0400 |
commit | c40ffd6b71d696e69e6087e8d4f210f759b9573d (patch) | |
tree | 6102928d2fa746bbd52c5898163ea87391a3e368 /pygments/lexers/text.py | |
parent | eaa060a062951518866a308f2a9684b889ccaad1 (diff) | |
download | pygments-c40ffd6b71d696e69e6087e8d4f210f759b9573d.tar.gz |
Ensure whitespace between python keyword and python command
Diffstat (limited to 'pygments/lexers/text.py')
-rw-r--r-- | pygments/lexers/text.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py index 6885e652..f05fc1d6 100644 --- a/pygments/lexers/text.py +++ b/pygments/lexers/text.py @@ -843,8 +843,8 @@ class VimLexer(RegexLexer): (r'^([ \t:]*)(' + _python + r')([ \t]*)(<<)([ \t]*)(.*)((?:\n|.)*)(\5)', bygroups(using(this), Keyword, Text, Operator, Text, Text, using(PythonLexer), Text)), - (r'^([ \t:]*)(' + _python + r')(.*)', - bygroups(using(this), Keyword, using(PythonLexer))), + (r'^([ \t:]*)(' + _python + r')([ \t])(.*)', + bygroups(using(this), Keyword, Text, using(PythonLexer))), (r'^\s*".*', Comment), |