This commit is contained in:
Dmitry Vasiliev
2014-12-27 15:52:20 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -179,7 +179,7 @@ endif
" "
syn match pythonDecorator "@" display nextgroup=pythonDottedName skipwhite syn match pythonDecorator "@" display nextgroup=pythonDottedName skipwhite
syn match pythonDottedName "[a-zA-Z_][a-zA-Z0-9_]*\%(\.[a-zA-Z_][a-zA-Z0-9_]*\)*" display contained syn match pythonDottedName "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\%(\.\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\)*" display contained
syn match pythonDot "\." display containedin=pythonDottedName syn match pythonDot "\." display containedin=pythonDottedName
" "

View File

@@ -51,6 +51,7 @@ RuntimeWarning FutureWarning ImportWarning UnicodeWarning
@ decoratorname @ decoratorname
@ object.__init__(arg1, arg2) @ object.__init__(arg1, arg2)
@ декоратор.décorateur
# Numbers # Numbers