We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f5cf9 commit ddbd84eCopy full SHA for ddbd84e
syntax/python.vim
@@ -190,7 +190,7 @@ endif
190
" Decorators (new in Python 2.4)
191
"
192
193
-syn match pythonDecorator "\(^\s*\)\@<=@" display nextgroup=pythonDottedName skipwhite
+syn match pythonDecorator "^\s*\zs@" display nextgroup=pythonDottedName skipwhite
194
if s:Python2Syntax()
195
syn match pythonDottedName "[a-zA-Z_][a-zA-Z0-9_]*\%(\.[a-zA-Z_][a-zA-Z0-9_]*\)*" display contained
196
else
0 commit comments