Browse Source

Merge ddbd84e7b8b437bc926ac28850b2ca8068488a93 into 69760cb3accce488cc072772ca918ac2cbf384ba

Jan Hermann 9 years ago
parent
commit
31f57c1666
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      syntax/python.vim

+ 1
- 1
syntax/python.vim View File

@@ -190,7 +190,7 @@ endif
190 190
 " Decorators (new in Python 2.4)
191 191
 "
192 192
 
193
-syn match   pythonDecorator	"@" display nextgroup=pythonDottedName skipwhite
193
+syn match   pythonDecorator	"^\s*\zs@" display nextgroup=pythonDottedName skipwhite
194 194
 if s:Python2Syntax()
195 195
   syn match   pythonDottedName "[a-zA-Z_][a-zA-Z0-9_]*\%(\.[a-zA-Z_][a-zA-Z0-9_]*\)*" display contained
196 196
 else