Pierre-Yves David avatar Pierre-Yves David committed b2a0367

fix

Comments (0)

Files changed (2)

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

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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.