python flyquickfix description

Wed Oct 14 22:09:17 2009 +0900

author
hattori@www.hexacosa.net
date
Wed Oct 14 22:09:17 2009 +0900
changeset 18
d954bcd1b5dc
parent 17
bf5ed9b4dc87
child 19
a926c4dcd4e1
child 22
c2a38fca8fdc

python flyquickfix description

ftplugin/python/flyquickfixmake.vim file | annotate | diff | revisions
     1.1 --- a/ftplugin/python/flyquickfixmake.vim	Wed Sep 16 03:44:04 2009 +0900
     1.2 +++ b/ftplugin/python/flyquickfixmake.vim	Wed Oct 14 22:09:17 2009 +0900
     1.3 @@ -7,27 +7,27 @@
     1.4          """ setting for pylint
     1.5          setlocal makeprg=/usr/bin/pylint\ --rcfile=$HOME/.pylint\ -e\ %
     1.6          setlocal errorformat=%t:%l:%m
     1.7 -        echo "flymake prg: pylint"
     1.8 +        echo "use pylint"
     1.9      elseif a:mode == 1
    1.10          """ setting for pyflakes
    1.11          setlocal makeprg=/usr/local/bin/pyflakes\ %
    1.12          setlocal errorformat=%f:%l:%m
    1.13 -        echo "flymake prg: pyflakes"
    1.14 +        echo "use pyflakes"
    1.15      else
    1.16          """ setting for pep8.py
    1.17          setlocal makeprg=/usr/local/bin/pep8\ %
    1.18          setlocal errorformat=%f:%l:%c:%m
    1.19 -        echo "flymake prg: pep8"
    1.20 +        echo "use pep8"
    1.21      endif
    1.22  endfunction
    1.23  
    1.24  function! FlyquickfixToggleSet()
    1.25      if g:python_flyquickfixmake == 1
    1.26          au! BufWritePost
    1.27 -        echo "not-used flymake"
    1.28 +        echo "not-used checker"
    1.29          let g:python_flyquickfixmake = 0
    1.30      else
    1.31 -        echo "used flymake"
    1.32 +        echo "used checker"
    1.33          let g:python_flyquickfixmake = 1
    1.34          au BufWritePost *.py make
    1.35      endif

mercurial