summaryrefslogtreecommitdiff
path: root/pygments/lexers/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/text.py')
-rw-r--r--pygments/lexers/text.py4
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),