We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69760cb commit 84f5cf9Copy full SHA for 84f5cf9
syntax/python.vim
@@ -190,7 +190,7 @@ endif
190
" Decorators (new in Python 2.4)
191
"
192
193
-syn match pythonDecorator "@" display nextgroup=pythonDottedName skipwhite
+syn match pythonDecorator "\(^\s*\)\@<=@" 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