2015-03-20 17:16:03 +00:00
|
|
|
let g:JavaImpDataDir = $HOME . "/.vim/JavaImp"
|
|
|
|
|
|
|
|
" F7 to call clean redundant Java imports and sort them
|
|
|
|
function JavaImpClean()
|
|
|
|
%!~/bin/clean_imports.sh %
|
|
|
|
:JavaImpSort
|
|
|
|
endfunction
|
|
|
|
:command JavaImpClean exec JavaImpClean()
|
|
|
|
:nnoremap <F7> :JavaImpClean<CR>
|
2015-03-25 15:12:54 +00:00
|
|
|
|
|
|
|
"let makeprg = 'java -cp /opt/boxen/homebrew/opt/checkstyle/libexec/checkstyle-6.0-all.jar -c '. vimrc_git . '/checkstyle.xml %:p'
|
|
|
|
let makeprg = 'checkstyle -c '. vimrc_git . '/checkstyle.xml ./%'
|
|
|
|
|
2015-10-14 02:48:33 +00:00
|
|
|
let &makeprg=escape(makeprg, ' ')
|
|
|
|
setlocal errorformat=%f:%l:\ %m,%f:%l:%v:\ %m,%-G%.%#
|
2015-03-25 15:12:54 +00:00
|
|
|
|