Adding new stuff
This commit is contained in:
parent
ba7d75438f
commit
397b9554eb
232 changed files with 4 additions and 1 deletions
60
vim-plugins/eclim/plugin/java_tools.vim
Normal file
60
vim-plugins/eclim/plugin/java_tools.vim
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" see http://eclim.org/vim/java/tools.html
|
||||
"
|
||||
" License:
|
||||
"
|
||||
" Copyright (C) 2005 - 2016 Eric Van Dewoestine
|
||||
"
|
||||
" This program is free software: you can redistribute it and/or modify
|
||||
" it under the terms of the GNU General Public License as published by
|
||||
" the Free Software Foundation, either version 3 of the License, or
|
||||
" (at your option) any later version.
|
||||
"
|
||||
" This program is distributed in the hope that it will be useful,
|
||||
" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
" GNU General Public License for more details.
|
||||
"
|
||||
" You should have received a copy of the GNU General Public License
|
||||
" along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
" Autocmds {{{
|
||||
augroup eclim_java_class_read
|
||||
autocmd!
|
||||
autocmd BufReadCmd *.class call eclim#java#util#ReadClassPrototype()
|
||||
augroup END
|
||||
" }}}
|
||||
|
||||
" Command Declarations {{{
|
||||
if !exists(":Jps") && executable('jps')
|
||||
command Jps :call eclim#java#tools#Jps()
|
||||
endif
|
||||
|
||||
if !exists(":Ant")
|
||||
command -bang -nargs=* -complete=customlist,eclim#java#ant#complete#CommandCompleteTarget
|
||||
\ Ant :call eclim#java#tools#MakeWithJavaBuildTool('eclim_ant', '<bang>', '<args>')
|
||||
endif
|
||||
|
||||
if !exists(":Maven")
|
||||
command -bang -nargs=* Maven
|
||||
\ :call eclim#java#tools#MakeWithJavaBuildTool('eclim_maven', '<bang>', '<args>')
|
||||
endif
|
||||
if !exists(":MavenRepo")
|
||||
command -nargs=0
|
||||
\ MavenRepo :call eclim#java#maven#SetClasspathVariable('Maven', 'MAVEN_REPO', '')
|
||||
endif
|
||||
if !exists(":Mvn")
|
||||
command -bang -nargs=* Mvn
|
||||
\ :call eclim#java#tools#MakeWithJavaBuildTool('eclim_mvn', '<bang>', '<args>')
|
||||
endif
|
||||
if !exists(":MvnRepo")
|
||||
command -nargs=*
|
||||
\ MvnRepo :call eclim#java#maven#SetClasspathVariable('Mvn', 'M2_REPO', '<args>')
|
||||
endif
|
||||
" }}}
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
Loading…
Add table
Add a link
Reference in a new issue