Skip to content

Commit

Permalink
Update phpqa.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemikel committed Mar 18, 2014
1 parent e2c9e39 commit ce940e5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions plugin/phpqa.vim
Expand Up @@ -127,9 +127,11 @@ nnoremap <unique> <script> <Plug>CodeCoverageToggle <SID>CodeCoverageToggle
nnoremap <silent> <SID>CodeCoverageToggle :call phpqa#CodeCoverageToggle()<cr>
" Run all tools automatically on write and other events
autocmd BufWritePost * call phpqa:RunAll()
autocmd BufRead * call phpqa#PhpLint()
autocmd BufRead * call phpqa:RunCodeCoverage()
if g:phpqa_run_on_write
autocmd BufWritePost * call phpqa:RunAll()
autocmd BufRead * call phpqa#PhpLint()
autocmd BufRead * call phpqa:RunCodeCoverage()
endif

" Allow each command to be called individually
command Php call phpqa#PhpLint()
Expand Down

0 comments on commit ce940e5

Please sign in to comment.