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,49 @@
" 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/>.
"
" }}}
" Options {{{
exec 'setlocal ' . g:EclimCompletionMethod . '=eclim#java#ant#complete#CodeComplete'
" }}}
" Autocmds {{{
if g:EclimAntValidate
augroup eclim_xml
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#lang#Validate('ant', 1)
augroup END
endif
" }}}
" Command Declarations {{{
if !exists(":AntDoc")
command -buffer -nargs=? AntDoc :call eclim#java#ant#doc#FindDoc('<args>')
endif
command! -nargs=0 -buffer Validate :call eclim#lang#Validate('ant', 0)
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,35 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
if !exists('g:tlist_commonsvalidator_settings')
let g:tlist_commonsvalidator_settings = {
\ 'lang': 'commonsvalidator',
\ 'parse': 'eclim#taglisttoo#lang#commonsvalidator#Parse',
\ 'tags': {'c': 'constant', 'f': 'form', 'v': 'validator'}
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,49 @@
" 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/>.
"
" }}}
" Options {{{
exec 'setlocal ' . g:EclimCompletionMethod . '=eclim#css#complete#CodeComplete'
" }}}
" Autocmds {{{
if g:EclimCssValidate
augroup eclim_css_validate
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer>
\ call eclim#lang#Validate('css', 1, 'eclim#css#validate#Filter')
augroup END
endif
" }}}
" Command Declarations {{{
if !exists(":Validate")
command -nargs=0 -buffer Validate
\ :call eclim#lang#Validate('css', 0, 'eclim#css#validate#Filter')
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,41 @@
" 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/>.
"
" }}}
" Autocmds {{{
if g:EclimDtdValidate
augroup eclim_css_validate
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#lang#Validate('dtd', 1)
augroup END
endif
" }}}
" Command Declarations {{{
if !exists(":Validate")
command -nargs=0 -buffer Validate :call eclim#lang#Validate('dtd', 0)
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,37 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/help.vim
nnoremap <silent> <buffer> <cr> :call eclim#help#Help('', 1)<cr>
nnoremap <silent> <buffer> <c-]> :call eclim#help#Help('', 1)<cr>
if !exists("g:tlist_eclimhelp_settings")
let g:tlist_eclimhelp_settings = {
\ 'lang': 'eclimhelp',
\ 'parse': 'eclim#taglisttoo#lang#eclimhelp#Parse',
\ 'tags': {'s': 'section', 'a': 'anchor'}
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,66 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
" see http://eclim.org/vim/java/classpath.html
"
" 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/>.
"
" }}}
" load any xml related functionality
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
augroup eclim_xml
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#project#util#ProjectUpdate()
augroup END
" Command Declarations {{{
if !exists(":NewSrcEntry")
command -nargs=1 -complete=customlist,eclim#project#util#CommandCompleteProjectRelative -buffer
\ NewSrcEntry :call eclim#java#classpath#NewClasspathEntry('src', '<args>')
endif
if !exists(":NewProjectEntry")
command -nargs=1 -complete=customlist,eclim#java#util#CommandCompleteProject -buffer
\ NewProjectEntry :call eclim#java#classpath#NewClasspathEntry('project', '<args>')
endif
if !exists(":NewJarEntry")
command -nargs=+ -complete=customlist,eclim#project#util#CommandCompleteAbsoluteOrProjectRelative -buffer
\ NewJarEntry
\ :call eclim#java#classpath#NewClasspathEntry('lib', <f-args>)
endif
if !exists(":NewVarEntry")
command -nargs=+ -complete=customlist,eclim#java#classpath#CommandCompleteVarPath -buffer
\ NewVarEntry
\ :call eclim#java#classpath#NewClasspathEntry('var', <f-args>)
endif
if !exists(":VariableList")
command -buffer VariableList :call eclim#java#classpath#VariableList()
endif
if !exists(":VariableCreate")
command -nargs=+ -buffer -complete=customlist,eclim#java#classpath#CommandCompleteVarAndDir
\ VariableCreate :call eclim#java#classpath#VariableCreate(<f-args>)
endif
if !exists(":VariableDelete")
command -nargs=1 -buffer -complete=customlist,eclim#java#classpath#CommandCompleteVar
\ VariableDelete :call eclim#java#classpath#VariableDelete('<args>')
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,37 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
set textwidth=80
if !exists('g:tlist_forrestdocument_settings')
let g:tlist_forrestdocument_settings = {
\ 'lang': 'forrestdocument',
\ 'parse': 'eclim#taglisttoo#lang#forrest#ParseDocument',
\ 'tags': {'s': 'section'}
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,37 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
set textwidth=80
if !exists('g:tlist_forreststatus_settings')
let g:tlist_forreststatus_settings = {
\ 'lang': 'forreststatus',
\ 'parse': 'eclim#taglisttoo#lang#forrest#ParseStatus',
\ 'tags': {'t': 'todo', 'r': 'release'}
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,35 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/groovy*.vim
runtime! ftplugin/groovy/*.vim
if !exists('g:tlist_gant_settings')
let g:tlist_gant_settings = {
\ 'lang': 'gant',
\ 'parse': 'eclim#taglisttoo#lang#gant#Parse',
\ 'tags': {'t': 'target', 'f': 'function'}
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,44 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
runtime eclim/ftplugin/java-xml.vim
if !exists("g:tlist_hibernate_settings")
let g:tlist_hibernate_settings = {
\ 'lang': 'hibernate',
\ 'parse': 'eclim#taglisttoo#lang#hibernate#Parse',
\ 'tags': {
\ 't': 'typedef',
\ 'f': 'filter-def',
\ 'i': 'import',
\ 'q': 'query',
\ 's': 'sql-query',
\ 'c': 'class',
\ 'j': 'joined-subclass'
\ }
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,55 @@
" 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/>.
"
" }}}
" Options {{{
exec 'setlocal ' . g:EclimCompletionMethod . '=eclim#html#complete#CodeComplete'
call eclim#lang#DisableSyntasticIfValidationIsEnabled('html')
" }}}
" Autocmds {{{
if g:EclimHtmlValidate
augroup eclim_html_validate
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#html#validate#Validate(1)
augroup END
endif
" }}}
" Command Declarations {{{
if !exists(":Validate")
command -nargs=0 -buffer Validate
\ :call eclim#lang#Validate('html', 0)
endif
if !exists(":BrowserOpen")
command -nargs=? -complete=file -buffer BrowserOpen
\ :call eclim#html#util#OpenInBrowser(<q-args>)
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,47 @@
" 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/>.
"
" }}}
" load any xml related functionality
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
" turn off xml validation
augroup eclim_xml
autocmd! BufWritePost <buffer>
augroup END
" Autocmds {{{
if g:EclimIvyClasspathUpdate
augroup eclim_ivy
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#java#maven#UpdateClasspath()
augroup END
endif
" }}}
" Command Declarations {{{
if !exists(":IvyRepo")
command -nargs=1 -complete=dir -buffer IvyRepo
\ :call eclim#java#ant#ivy#SetRepo('<args>')
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,40 @@
" Author: Eric Van Dewoestine
"
" License: {{{
"
" Copyright (C) 2012 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/>.
"
" }}}
" Functionality exposed to java xml files (web.xml, spring xml files, etc.).
" Global Variables {{{
if !exists("g:EclimJavaSearchMapping")
let g:EclimJavaSearchMapping = 1
endif
" }}}
" Mappings {{{
if g:EclimJavaSearchMapping
noremap <silent> <buffer> <cr> :call eclim#java#search#FindClassDeclaration()<cr>
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,224 @@
" 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/>.
"
" }}}
" Options {{{
exec 'setlocal ' . g:EclimCompletionMethod . '=eclim#java#complete#CodeComplete'
if g:EclimJavaSetCommonOptions
" allow cpp keywords in java files (delete, friend, union, template, etc).
let java_allow_cpp_keywords=1
" tell vim how to search for included files.
setlocal include=^\s*import
setlocal includeexpr=substitute(v:fname,'\\.','/','g')
setlocal suffixesadd=.java
endif
" set make program and error format accordingly.
if g:EclimJavaCompilerAutoDetect
" use ant settings
if eclim#util#Findfile('build.xml', '.;') != '' &&
\ eclim#util#CompilerExists('eclim_ant')
compiler eclim_ant
" use mvn settings
elseif eclim#util#Findfile('pom.xml', '.;') != '' &&
\ eclim#util#CompilerExists('eclim_mvn')
compiler eclim_mvn
if !g:EclimMakeLCD && !exists('g:EclimMakeLCDWarning')
call eclim#util#EchoWarning("WARNING: g:EclimMakeLCD disabled.\n" .
\ "Unlike maven and ant, mvn does not provide a mechanism to " .
\ "search for the target build file.\n" .
\ "Disabling g:EclimMakeLCD may cause issues when executing :make or :Mvn")
let g:EclimMakeLCDWarning = 1
endif
" use maven settings
elseif eclim#util#Findfile('project.xml', '.;') != '' &&
\ eclim#util#CompilerExists('eclim_maven')
compiler eclim_maven
" use standard jikes if available
elseif executable('jikes')
compiler jikes
let g:EclimMakeLCD = 0
" default to standard javac settings
else
compiler javac
let g:EclimMakeLCD = 0
endif
endif
call eclim#lang#DisableSyntasticIfValidationIsEnabled('java')
" }}}
" Abbreviations {{{
if !exists("g:EclimLoggingDisabled") || !g:EclimLoggingDisabled
inoreabbrev <buffer> log log<c-r>=eclim#java#logging#LoggingInit("log")<cr>
inoreabbrev <buffer> logger logger<c-r>=eclim#java#logging#LoggingInit("logger")<cr>
endif
" }}}
" Autocmds {{{
if &ft == 'java'
augroup eclim_java
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#lang#UpdateSrcFile('java')
augroup END
endif
" }}}
" Command Declarations {{{
if !exists(":Validate")
command -nargs=0 -buffer Validate :call eclim#lang#UpdateSrcFile('java', 1)
endif
if !exists(":JavaCorrect")
command -buffer JavaCorrect :call eclim#java#correct#Correct()
endif
if !exists(":JavaFormat")
command -buffer -range JavaFormat :call eclim#java#src#Format(<line1>, <line2>)
endif
if !exists(":JavaImport")
command -buffer JavaImport :call eclim#java#import#Import()
endif
if !exists(":JavaImportOrganize")
command -buffer JavaImportOrganize :call eclim#java#import#OrganizeImports()
endif
if !exists(":JavaDocComment")
command -buffer JavaDocComment :call eclim#java#doc#Comment()
endif
if !exists(":JavaDocPreview")
command -buffer JavaDocPreview :call eclim#java#doc#Preview()
endif
if !exists(":Javadoc")
command -buffer -bang -nargs=*
\ -complete=customlist,eclim#java#doc#CommandCompleteJavadoc
\ Javadoc :call eclim#java#doc#Javadoc('<bang>', <q-args>)
endif
if exists(":Java") != 2
command -buffer -nargs=* Java :call eclim#java#util#Java('', <q-args>)
endif
if exists(":JavaClasspath") != 2
command -buffer -nargs=* JavaClasspath :call eclim#java#util#Classpath(<f-args>)
endif
if exists(":JavaListInstalls") != 2
command -buffer -nargs=* JavaListInstalls :call eclim#java#util#ListInstalls()
endif
if !exists(":JavaConstructor")
command -buffer -range=0 -bang JavaConstructor
\ :call eclim#java#impl#Constructor(<line1>, <line2>, '<bang>')
endif
if !exists(":JavaGet")
command -buffer -range -bang JavaGet
\ :call eclim#java#impl#GetterSetter(<line1>, <line2>, '<bang>', 'getter')
endif
if !exists(":JavaSet")
command -buffer -range -bang JavaSet
\ :call eclim#java#impl#GetterSetter(<line1>, <line2>, '<bang>', 'setter')
endif
if !exists(":JavaGetSet")
command -buffer -range -bang JavaGetSet
\ :call eclim#java#impl#GetterSetter(<line1>, <line2>, '<bang>', 'getter_setter')
endif
if !exists(":JavaImpl")
command -buffer JavaImpl :call eclim#java#impl#Impl()
endif
if !exists(":JavaDelegate")
command -buffer JavaDelegate :call eclim#java#impl#Delegate()
endif
if !exists(":JavaSearch")
command -buffer -nargs=*
\ -complete=customlist,eclim#java#search#CommandCompleteSearch
\ JavaSearch :call eclim#java#search#SearchAndDisplay('java_search', '<args>')
endif
if !exists(":JavaSearchContext")
command -buffer -nargs=?
\ -complete=customlist,eclim#java#search#CommandCompleteSearchContext
\ JavaSearchContext :call eclim#java#search#SearchAndDisplay('java_search', '<args>')
endif
if !exists(":JavaDocSearch")
command -buffer -nargs=*
\ -complete=customlist,eclim#java#search#CommandCompleteSearch
\ JavaDocSearch :call eclim#java#search#SearchAndDisplay('java_docsearch', '<args>')
endif
if !exists(":JavaCallHierarchy")
command -buffer -bang JavaCallHierarchy
\ :call eclim#lang#hierarchy#CallHierarchy(
\ 'java', g:EclimJavaCallHierarchyDefaultAction, '<bang>')
endif
if !exists(":JavaHierarchy")
command -buffer -range JavaHierarchy :call eclim#java#hierarchy#Hierarchy()
endif
if !exists(":JavaRename")
command -nargs=1 -buffer JavaRename :call eclim#java#refactor#Rename('<args>')
endif
if !exists(":JavaMove")
command -nargs=1 -buffer -complete=customlist,eclim#java#util#CommandCompletePackage
\ JavaMove :call eclim#java#refactor#Move('<args>')
endif
if !exists(":JavaLoggingInit")
command -buffer JavaLoggingInit :call eclim#java#logging#LoggingInit()
endif
if !exists(":JUnit")
command -buffer -nargs=? -bang -complete=customlist,eclim#java#junit#CommandCompleteTest
\ JUnit :call eclim#java#junit#JUnit('<args>', '<bang>')
endif
if !exists(":JUnitFindTest")
command -buffer JUnitFindTest :call eclim#java#junit#JUnitFindTest()
endif
if !exists(":JUnitResult")
command -buffer -nargs=? -complete=customlist,eclim#java#junit#CommandCompleteResult
\ JUnitResult :call eclim#java#junit#JUnitResult('<args>')
endif
if !exists(":JUnitImpl")
command -buffer JUnitImpl :call eclim#java#junit#JUnitImpl()
endif
if !exists(":Checkstyle")
command -nargs=0 -buffer Checkstyle :call eclim#java#src#Checkstyle()
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,49 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
" see http://eclim.org/vim/javascript/index.html
"
" 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/>.
"
" }}}
" Options {{{
" tern has better auto completion than eclipse
if &omnifunc != 'tern#Complete'
exec 'setlocal ' . g:EclimCompletionMethod . '=eclim#javascript#complete#CodeComplete'
endif
" }}}
" Autocmds {{{
augroup eclim_javascript
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#javascript#util#UpdateSrcFile(0)
augroup END
" }}}
" Command Declarations {{{
command! -nargs=0 -buffer Validate :call eclim#javascript#util#UpdateSrcFile(1)
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,35 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
if !exists("g:tlist_junitresult_settings")
let g:tlist_junitresult_settings = {
\ 'lang': 'junitresult',
\ 'parse': 'eclim#taglisttoo#lang#junit#Parse',
\ 'tags': {'t': 'testcase', 'f': 'failure', 'o': 'output'}
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,48 @@
" 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
runtime eclim/ftplugin/java-xml.vim
" Autocmds {{{
if g:EclimLog4jValidate
augroup eclim_log4j_validate
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#lang#Validate('log4j', 1)
augroup END
endif
" disable plain xml validation.
augroup eclim_xml
autocmd! BufWritePost <buffer>
augroup END
" }}}
" Command Declarations {{{
command! -nargs=0 -buffer Validate :call eclim#lang#Validate('log4j', 0)
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,32 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" 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/>.
"
" }}}
" Command Declarations {{{
if !exists(":CProjectConfigs")
command -nargs=0 -buffer CProjectConfigs :call eclim#c#project#Configs()
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,40 @@
" 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/>.
"
" }}}
" load any xml related functionality
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
" turn off xml validation
augroup eclim_xml
autocmd! BufWritePost <buffer>
augroup END
" Autocmds {{{
if g:EclimMavenPomClasspathUpdate
augroup eclim_mvn
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#java#maven#UpdateClasspath()
augroup END
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,36 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
runtime eclim/ftplugin/java-xml.vim
if !exists("g:tlist_spring_settings")
let g:tlist_spring_settings = {
\ 'lang': 'spring',
\ 'parse': 'eclim#taglisttoo#lang#spring#Parse',
\ 'tags': {'i': 'import', 'a': 'alias', 'b': 'bean'}
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,28 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
runtime eclim/ftplugin/java-xml.vim
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,36 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2012 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
runtime eclim/ftplugin/java-xml.vim
if !exists("g:tlist_tld_settings")
let g:tlist_tld_settings = {
\ 'lang': 'tld',
\ 'parse': 'eclim#taglisttoo#lang#webxml#ParseTld',
\ 'tags': {'t': 'tag'}
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,63 @@
" 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/>.
"
" }}}
runtime! ftplugin/xml.vim
runtime! indent/xml.vim
runtime eclim/ftplugin/java-xml.vim
if !exists("g:tlist_webxml_settings")
let g:tlist_webxml_settings = {
\ 'lang': 'webxml',
\ 'parse': 'eclim#taglisttoo#lang#webxml#ParseWebXml',
\ 'tags': {
\ 'p': 'context-param',
\ 'f': 'filter',
\ 'i': 'filter-mapping',
\ 'l': 'listener',
\ 's': 'servlet',
\ 'v': 'servlet-mapping'
\ }
\ }
endif
" Autocmds {{{
if g:EclimWebXmlValidate
augroup eclim_webxml_validate
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#lang#Validate('webxml', 1)
augroup END
endif
" disable plain xml validation.
augroup eclim_xml
autocmd! BufWritePost <buffer>
augroup END
" }}}
" Command Declarations {{{
command! -nargs=0 -buffer Validate :call eclim#lang#Validate('webxml', 0)
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,37 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" License:
"
" Copyright (C) 2005 - 2010 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('g:tlist_wsdl_settings')
let g:tlist_wsdl_settings = {
\ 'lang': 'wsdl',
\ 'parse': 'eclim#taglisttoo#lang#wsdl#Parse',
\ 'tags': {
\ 't': 'types',
\ 'm': 'messages',
\ 'p': 'ports',
\ 'b': 'bindings'
\ }
\ }
endif
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,52 @@
" 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/>.
"
" }}}
" Autocmds {{{
if g:EclimXmlValidate
augroup eclim_xml
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#xml#validate#Validate(1, '!')
augroup END
endif
" }}}
" Command Declarations {{{
if !exists(":Validate")
command -nargs=0 -complete=file -bang -buffer Validate
\ :call eclim#xml#validate#Validate(0, '<bang>')
command -nargs=? -buffer DtdDefinition
\ :call eclim#xml#definition#DtdDefinition('<args>')
command -nargs=? -buffer XsdDefinition
\ :call eclim#xml#definition#XsdDefinition('<args>')
endif
if !exists(":XmlFormat")
"command -buffer -range XmlFormat :call eclim#xml#format#Format(<line1>, <line2>)
command -buffer XmlFormat :call eclim#xml#format#Format()
endif
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,30 @@
" Author: Eric Van Dewoestine
"
" Description: {{{
"
" 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/>.
"
" }}}
" Options {{{
exec 'setlocal ' . g:EclimCompletionMethod . '=eclim#xml#complete#CodeComplete'
" }}}
" vim:ft=vim:fdm=marker

View File

@@ -0,0 +1,44 @@
" 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/>.
"
" }}}
" Autocmds {{{
if g:EclimXsdValidate
augroup eclim_xsd_validate
autocmd! BufWritePost <buffer>
autocmd BufWritePost <buffer> call eclim#lang#Validate('xsd', 1)
augroup END
endif
" disable plain xml validation.
augroup eclim_xml
autocmd! BufWritePost <buffer>
augroup END
" }}}
" Command Declarations {{{
command! -nargs=0 -buffer Validate :call eclim#lang#Validate('xsd', 0)
" }}}
" vim:ft=vim:fdm=marker