Installed eclim + remved autocomplete plugins

This commit is contained in:
2014-08-31 22:16:01 +02:00
parent 9b88b794a1
commit ce98650c57
226 changed files with 32126 additions and 4 deletions

View File

@@ -0,0 +1,87 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
" Compiler for ant (enhancement to default ant compiler provided w/ vim).
"
" License:
"
" Copyright (C) 2005 - 2013 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/>.
"
" }}}
if exists("current_compiler")
finish
endif
let current_compiler = "eclim_ant"
if !exists('g:EclimAntCompilerAdditionalErrorFormat')
let g:EclimAntCompilerAdditionalErrorFormat = ''
endif
if !exists('g:EclimAntErrorFormat')
let g:EclimAntErrorFormat = ''
endif
if !exists('g:EclimAntErrorsEnabled')
let g:EclimAntErrorsEnabled = 0
endif
if g:EclimAntErrorsEnabled
let g:EclimAntErrorFormat .= '\%A%f:%l:\ %m,'
endif
CompilerSet makeprg=ant\ -find\ build.xml\ $*
" The two entries before the last one, are for catching ant build file names
" and error line numbers.
exec 'CompilerSet errorformat=' .
\ '\%-G%.%#[javac]\ %.%#:\ warning:\ unmappable\ character\ %.%#,' .
\ '\%A%.%#[javac]\ %f:%l:\ %m,' .
\ '\%C%.%#[javac]\ symbol\ %#:\ %m,' .
\ '\%-Z%.%#[javac]\ %p^,' .
\ '\%A%.%#[javadoc]\ %f:%l:\ %m,' .
\ '\%-C%.%#[javadoc]\ location:\ %.%#,' .
\ '\%-C%.%#[javadoc]\ %#,' .
\ '\%-Z%.%#[javadoc]\ %p^,' .
\ '\%-G%.%#[javadoc]\ Note:%.%#,' .
\ '\%-G%.%#[javadoc]\ javadoc:%.%#,' .
\ '\%.%#[javadoc]\ %f:\ %m,' .
\ '\%.%#[java]\ org\.apache\.jasper\.JasperException:\ file:%f(%l\\,%c)\ %m,' .
\ '\%+A%.%#[junit]\ %.%#Failures:\ %[%^0]%.%#\ Time\ elapsed:\ %.%#,' .
\ '\%-Z%.%#[junit]\ Test\ %f\ FAILED,' .
\ '\%+A%.%#[junit]\ %.%#Errors:\ %[%^0]%.%#\ Time\ elapsed:\ %.%#,' .
\ '\%-Z%.%#[junit]\ Test\ %f\ FAILED,' .
\ '\%+A%.%#[cactus]\ %.%#Failures:\ %[%^0]%.%#\ Time\ elapsed:\ %.%#,' .
\ '\%-Z%.%#[cactus]\ Test\ %f\ FAILED,' .
\ '\%+A%.%#[cactus]\ %.%#Errors:\ %[%^0]%.%#\ Time\ elapsed:\ %.%#,' .
\ '\%-Z%.%#[cactus]\ Test\ %f\ FAILED,' .
\ '\%.%#[checkstyle]\ %f:%l:%c:\ %m,' .
\ '\%.%#[checkstyle]\ %f:%l:\ %m,' .
\ '\%E%.%#[scalac]\ %f:%l:\ error:\ %m,' .
\ '\%-Z%.%#[scalac]\ %p^,' .
\ '\%W%.%#[scalac]\ %f:%l:\ warning:\ %m,' .
\ '\%-Z%.%#[scalac]\ %p^,' .
\ '\%A%.%#[scalac]\ %f:%l:\ %m,' .
\ '\%-Z%.%#[scalac]\ %p^,' .
\ '\%+A%.%#eclim\ testng:\ %f:%m,' .
\ '\%.%#\ ERROR\ %.%#\ line\ %l\ in\ file:\ %.%f%.:\ %m,' .
\ g:EclimAntCompilerAdditionalErrorFormat .
\ '\%.%#[exec]\ %f:%l:%c:\ %m,' .
\ '\%.%#[exec]\ %f:%l:\ %m,' .
\ '\%f:%l:%c:\ %m,' .
\ g:EclimAntErrorFormat .
\ '\%-G%.%#'
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,50 @@
" Author: Eric Van Dewoestine
"
" License: {{{
"
" Copyright (C) 2005 - 2014 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/>.
"
" }}}
if exists("current_compiler")
finish
endif
let current_compiler = "eclim_javadoc"
let instance = eclim#client#nailgun#ChooseEclimdInstance()
let [retcode, result] = eclim#client#nailgun#GetEclimCommand(instance.home)
if retcode != 0
call eclim#util#EchoError(result)
finish
endif
let command = result
let command .= ' --nailgun-port ' . instance.port
let command .= ' -command javadoc $*'
if has('win32') || has('win64') || has('win32unix')
let command = 'cmd /c " ' . command . ' "'
else
let command = substitute(command, '"', '', 'g')
endif
exec 'CompilerSet makeprg=' . escape(command, ' "')
exec 'CompilerSet errorformat=' .
\ '\%A%.%#[javadoc]\ %f:%l:\ %m,' .
\ '\%-Z%.%#[javadoc]\ %p^,' .
\ '\%-G%.%#[javadoc]%.%#,' .
\ '\%-G%.%#'
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,56 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
" Compiler for make.
"
" License:
"
" Copyright (C) 2005 - 2009 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/>.
"
" }}}
if exists("current_compiler")
finish
endif
let current_compiler = "eclim_make"
if !exists('g:EclimMakeCompilerAdditionalErrorFormat')
let g:EclimMakeCompilerAdditionalErrorFormat = ''
endif
CompilerSet makeprg=make
" With the exception of the last two lines, this is a straight copy from the
" vim default.
exec 'CompilerSet errorformat=' .
\ '%*[^\"]\"%f\"%*\\D%l:\ %m,' .
\ '\"%f\"%*\\D%l:\ %m,'.
\ '%-G%f:%l:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,' .
\ '%-G%f:%l:\ for\ each\ function\ it\ appears\ in.),' .
\ '%f:%l:%c:%m,' .
\ '%f(%l):%m,' .
\ '%f:%l:%m,' .
\ '\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,' .
\ "%D%*\\\\a[%*\\\\d]:\\ Entering\\ directory\\ `%f'," .
\ "%X%*\\\\a[%*\\\\d]:\\ Leaving\\ directory\\ `%f'," .
\ "%D%*\\\\a:\\ Entering\\ directory\\ `%f'," .
\ "%X%*\\\\a:\\ Leaving\\ directory\\ `%f'," .
\ '%DMaking\ %*\\a\ in\ %f,' .
\ '%f\|%l\|\ %m,' .
\ g:EclimMakeCompilerAdditionalErrorFormat .
\ '\%-G%.%#'
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,61 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
" Compiler for maven 1.x.
"
" License:
"
" Copyright (C) 2005 - 2009 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/>.
"
" }}}
if exists("current_compiler")
finish
endif
let current_compiler = "eclim_maven"
if !exists('g:EclimMavenCompilerAdditionalErrorFormat')
let g:EclimMavenCompilerAdditionalErrorFormat = ''
endif
CompilerSet makeprg=maven\ --find\ project.xml\ $*
" Lines 17 - 20: javac minus adornments (must be last to prevent picking up
" other errors in the wrong format).
exec 'CompilerSet errorformat=' .
\ '\%A%.%#[javac]\ %f:%l:\ %m,' .
\ '\%C%.%#[javac]\ symbol%.%#:\ %m,' .
\ '\%C%.%#[javac]\ location%.%#:\ %m,' .
\ '\%-Z%.%#[javac]\ %p^,' .
\ '\%W%.%#[javadoc]\ %f:%l:\ warning\ -\ %m,' .
\ '\%E%.%#[javadoc]\ %f:%l:\ error\ -\ %m,' .
\ '\%A%.%#[javadoc]\ %f:%l:\ %m,' .
\ '\%-C%.%#[javadoc]\ location:\ %.%#,' .
\ '\%-Z%.%#[javadoc]\ %p^,' .
\ '\%-G%.%#[javadoc]\ Note:%.%#,' .
\ '\%-G%.%#[javadoc]\ javadoc:%.%#,' .
\ '\%+A%.%#[junit]\ %.%#Failures:\ %[%^0]%.%#\ Time\ elapsed:\ %.%#,' .
\ '\%-Z%.%#[junit]%.%#\ Test\ %f\ FAILED,' .
\ '\%+A%.%#[junit]%.%#\ %.%#Errors:\ %[%^0]%.%#\ Time\ elapsed:\ %.%#,' .
\ '\%-Z%.%#[junit]\ Test\ %f\ FAILED,' .
\ g:EclimMavenCompilerAdditionalErrorFormat .
\ '\%A%f:%l:\ %m,' .
\ '\%Csymbol%.%#:\ %m,' .
\ '\%Clocation%.%#:\ %m,' .
\ '\%-Z\ %p^,' .
\ '\%-G%.%#'
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,51 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
" Compiler for maven 2.x.
"
" License:
"
" Copyright (C) 2005 - 2009 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/>.
"
" }}}
if exists("current_compiler")
finish
endif
let current_compiler = "eclim_maven"
if !exists('g:EclimMvnCompilerAdditionalErrorFormat')
let g:EclimMvnCompilerAdditionalErrorFormat = ''
endif
CompilerSet makeprg=mvn\ $*
" Lines 1 - 3: javac
" Lines 4 - 7: javadoc
exec 'CompilerSet errorformat=' .
\ '\%A%f:[%l\\,%c]\ %m,' .
\ '\%Csymbol%.%#:\ %m,' .
\ '\%Zlocation%.%#:\ %m,' .
\ '\%AEmbedded\ error:%.%#\ -\ %f:%l:\ %m,' .
\ '\%-Z\ %p^,' .
\ '\%A%f:%l:\ %m,' .
\ '\%-Z\ %p^,' .
\ '\%ARunning\ %f,' .
\ '\%+ZTests\ run%.%#FAILURE!,' .
\ g:EclimMvnCompilerAdditionalErrorFormat .
\ '\%-G%.%#'
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,39 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
" Compiler for xmllint.
"
" License:
"
" Copyright (C) 2005 - 2009 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/>.
"
" }}}
if exists("current_compiler")
finish
endif
let current_compiler = "eclim_xmllint"
CompilerSet makeprg=xmllint\ --valid\ --noout\ $*
CompilerSet errorformat=
\%E%f:%l:\ %.%#\ error\ :\ %m,
\%W%f:%l:\ %.%#\ warning\ :\ %m,
\%-Z%p^,
\%-C%.%#,
\%-G%.%#
" vim:ft=vim:fdm=marker