summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------.vim/bundle/vim-phpqa0
-rw-r--r--.vimrc9
3 files changed, 11 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index 11bf528..f35357d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -91,3 +91,6 @@
[submodule ".vim/bundle/vimshell.vim"]
path = .vim/bundle/vimshell.vim
url = https://github.com/Shougo/vimshell.vim.git
+[submodule ".vim/bundle/vim-phpqa"]
+ path = .vim/bundle/vim-phpqa
+ url = https://github.com/joonty/vim-phpqa.git
diff --git a/.vim/bundle/vim-phpqa b/.vim/bundle/vim-phpqa
new file mode 160000
+Subproject 2e97eb0c74bbafd408d7bd03f589144441517a4
diff --git a/.vimrc b/.vimrc
index 34a0953..32848d4 100644
--- a/.vimrc
+++ b/.vimrc
@@ -96,6 +96,7 @@ Plugin 'sjl/splice.vim'
Plugin 'LaTeX-Box-Team/LaTeX-Box'
Plugin 'chase/vim-ansible-yaml'
Plugin 'vim-php/tagbar-phpctags.vim'
+Plugin 'joonty/vim-phpqa.git'
call vundle#end()
syntax on
@@ -196,6 +197,12 @@ let g:tagbar_autoclose=1
" syntastic
let g:syntastic_check_on_open = 1
+" phpqa
+let g:phpqa_messdetector_autorun = 0
+let g:phpqa_codesniffer_autorun = 0
+let g:phpqa_codecoverage_autorun = 0
+let g:phpqa_codecoverage_file = "code-coverage-report.xml"
+
" unite
let g:unite_source_history_yank_enable = 1
call unite#filters#matcher_default#use(['matcher_fuzzy'])
@@ -218,7 +225,7 @@ endfunction
autocmd FileType unite call s:unite_settings()
nnoremap <leader>w :<C-u>Unite -buffer-name=files -start-insert file<cr>
-nnoremap <leader>q :<C-u>Unite -buffer-name=files -start-insert file_rec/async:!<cr>
+nnoremap <leader>qq :<C-u>Unite -buffer-name=files -start-insert file_rec/async:!<cr>
nnoremap <leader>y :<C-u>Unite -buffer-name=yank history/yank<cr>
nnoremap <leader>b :<C-u>Unite -buffer-name=buffer buffer<cr>