Permalink
Browse files

Version 0.3.1

The "PEP8 correct" message is now highlighted in green (as in makegreen)
  • Loading branch information...
1 parent 6f07abb commit 8a185fe42a4d96dd45dae7bc1b95332a391d9e8a @boyska boyska committed with Nov 24, 2010
Showing with 9 additions and 0 deletions.
  1. +9 −0 plugin/pep8.vim
View
@@ -1,3 +1,7 @@
+" To change mapping, just put
+" let g:pep8_map='whatever'
+" in your .vimrc
+" To change the color of
function! <SID>Pep8()
set lazyredraw
" Close any existing cwindows.
@@ -26,7 +30,12 @@ function! <SID>Pep8()
redraw!
let tlist=getqflist() ", 'get(v:val, ''bufnr'')')
if empty(tlist)
+ if !hlexists('GreenBar')
+ hi GreenBar term=reverse ctermfg=white ctermbg=darkgreen guifg=white guibg=darkgreen
+ endif
+ echohl GreenBar
echomsg "PEP8 correct"
+ echohl None
cclose
endif
endfunction

0 comments on commit 8a185fe

Please sign in to comment.