Commits

Pierre-Yves David committed b2a0367

fix

  • Participants
  • Parent commits 5ade433

Comments (0)

Files changed (2)

File colors/pep8python.vim

 hi VisualNOS  cterm=bold,underline 
 hi WarningMsg  ctermfg=1  
 hi WildMenu  ctermfg=0 ctermbg=3  
-hi Folded  ctermfg=4 ctermbg=7  
-hi FoldColumn  ctermfg=4 ctermbg=7  
+hi Folded  ctermfg=Blue
+hi FoldColumn  ctermfg=Blue
 hi DiffAdd  ctermbg=4 
 hi DiffChange  ctermbg=5 
 hi DiffDelete  cterm=bold ctermfg=4 ctermbg=6   
 hi pythonClassDecl cterm=bold,underline ctermfg=Green
 hi pythonCharOperator ctermfg=DarkCyan
 hi pythonDelimiter ctermfg=Yellow
+
+hi Define ctermfg=Blue

File syntax/python.vim

 syn keyword pythonTodo		TODO FIXME XXX contained
 
 " Decorators (new in Python 2.4)
-syn match   pythonDecorator	"@" display nextgroup=pythonFunction skipwhite
+syn match   pythonDecoratorMark	"@" display nextgroup=pythonDecorator skipwhite
+syn match   pythonDecorator	"[a-zA-Z_][a-zA-Z0-9_]*" contained
 
 " strings
 syn region pythonString		matchgroup=Normal start=+[uU]\='+ end=+'+ skip=+\\\\\|\\'+ contains=pythonEscape
   HiLink pythonPreCondit	PreCondit
   HiLink pythonComment		Comment
   HiLink pythonTodo		Todo
+  HiLink pythonDecoratorMark pythonDecorator
   HiLink pythonDecorator	Define
   if exists("python_highlight_numbers")
     HiLink pythonNumber	Number