Installed eclim + remved autocomplete plugins
This commit is contained in:
64
vim/bundle/eclim/syntax/ant.vim
Normal file
64
vim/bundle/eclim/syntax/ant.vim
Normal file
@@ -0,0 +1,64 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Enhancement to default ant syntax file to add support for ant-contrib and
|
||||
" allow user to define list of additional tasks to be recognized.
|
||||
"
|
||||
" License:
|
||||
"
|
||||
" Copyright (C) 2005 - 2011 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
" antcontrib elements
|
||||
syn keyword antElement if then else elseif for foreach switch
|
||||
syn keyword antElement throw trycatch try catch finally
|
||||
syn keyword antElement propertycopy propertyselector propertyregex var
|
||||
syn keyword antElement antcallback antfetch runtarget
|
||||
syn keyword antElement outofdate timestampselector osfamily shellscript
|
||||
syn keyword antElement pathtofileset sortlist urlencode compilewithwalls
|
||||
syn keyword antElement forget assert bool limit math post stopwatch
|
||||
syn keyword antElement inifile antclipse antserver remoteant
|
||||
|
||||
" ant 1.7 tasks
|
||||
syn keyword antElement antversion echoxml
|
||||
" ant 1.7 resources and resource collections
|
||||
syn keyword antElement bzip2resource file gzipresource javaresource
|
||||
syn keyword antElement propertyresource string tarentry zipentry
|
||||
syn keyword antElement files first restrict resources sort tokens
|
||||
syn keyword antElement union intersect difference
|
||||
" ant 1.7 selectors
|
||||
syn keyword antElement date depend depth different filename present containsregexp
|
||||
syn keyword antElement size type modified signedselector scriptselector
|
||||
syn match antElement 'contains'
|
||||
" ant 1.7 conditions
|
||||
syn keyword antElement hasfreespace hasmethod isfailure length matches
|
||||
syn keyword antElement resourcecount resourcesmatch
|
||||
" ant 1.7 misc elements
|
||||
syn keyword antElement preserveintarget service
|
||||
|
||||
function! s:InitUserSyntax()
|
||||
if exists("g:AntSyntaxElements")
|
||||
let elements = string(g:AntSyntaxElements)
|
||||
let elements = substitute(elements, '\[\(.*\)\]', '\1', '')
|
||||
let elements = substitute(elements, ',', '', 'g')
|
||||
let elements = substitute(elements, "'", '', 'g')
|
||||
exec 'syn keyword antElement ' . elements
|
||||
endif
|
||||
endfunction
|
||||
call s:InitUserSyntax()
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/commonsvalidator.vim
Normal file
27
vim/bundle/eclim/syntax/commonsvalidator.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for apache commons validator files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
47
vim/bundle/eclim/syntax/css.vim
Normal file
47
vim/bundle/eclim/syntax/css.vim
Normal file
@@ -0,0 +1,47 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Extension to default css syntax to fix issues.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
source $VIMRUNTIME/syntax/css.vim
|
||||
|
||||
" fix issue where vim's css syntax file has issues if a curly immediately
|
||||
" follows a psudo class
|
||||
" Ex.
|
||||
" a:hover{
|
||||
" color: #fff;
|
||||
" }
|
||||
syn match cssPseudoClass ":[^ {]*" contains=cssPseudoClassId,cssUnicodeEscape
|
||||
|
||||
" some css3 properties
|
||||
syn match cssBoxProp contained "\<border-\(\(top\|right\|bottom\|left\)-\)*radius\>"
|
||||
syn match cssBoxProp contained "\<box-shadow\>"
|
||||
syn match cssBoxProp contained "\<opacity\>"
|
||||
|
||||
" css3 pseudo classes
|
||||
syn match cssPseudoClassId contained "\<\(root\|empty\)\>"
|
||||
syn match cssPseudoClassId contained "\<\(last\|only\)-child\>"
|
||||
syn match cssPseudoClassId contained "\<\(first\|last\|only\)-of-type\>"
|
||||
syn match cssPseudoClassId contained "\<nth-\(child\|last-child\|of-type\|last-of-type\)\>(\s*\(odd\|even\|[-+]\?\s*\d\+\(\s*n\(\s*[-+]\?\s*\d\+\)\?\)\?\)\s*)"
|
||||
syn region cssPseudoClassId contained start="\<not\>(" end=")" contains=cssPseudoClassId
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
29
vim/bundle/eclim/syntax/eclimhelp.vim
Normal file
29
vim/bundle/eclim/syntax/eclimhelp.vim
Normal file
@@ -0,0 +1,29 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for eclim help files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
source $VIMRUNTIME/syntax/help.vim
|
||||
|
||||
syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^\s*<$"
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/eclipse_classpath.vim
Normal file
27
vim/bundle/eclim/syntax/eclipse_classpath.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for eclipse .classpath files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/forrestdocument.vim
Normal file
27
vim/bundle/eclim/syntax/forrestdocument.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for forrest document xml files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/forreststatus.vim
Normal file
27
vim/bundle/eclim/syntax/forreststatus.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for forrest status xml files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
33
vim/bundle/eclim/syntax/gant.vim
Normal file
33
vim/bundle/eclim/syntax/gant.vim
Normal file
@@ -0,0 +1,33 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for gant build files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
" set allowing of cpp keywords if only to prevent valid 'delete' task from
|
||||
" displaying as an error.
|
||||
let groovy_allow_cpp_keywords = 1
|
||||
|
||||
runtime! syntax/groovy.vim
|
||||
|
||||
hi link groovyUserLabel Normal
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
31
vim/bundle/eclim/syntax/groovy_simple_template.vim
Normal file
31
vim/bundle/eclim/syntax/groovy_simple_template.vim
Normal file
@@ -0,0 +1,31 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for template files using groovy's simple template syntax.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
syn region groovySimpleTemplateSection start="<%" end="%>"
|
||||
syn match groovySimpleTemplateVariable '\${.\{-}}'
|
||||
|
||||
hi link groovySimpleTemplateSection Statement
|
||||
hi link groovySimpleTemplateVariable Constant
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
48
vim/bundle/eclim/syntax/hg.vim
Normal file
48
vim/bundle/eclim/syntax/hg.vim
Normal file
@@ -0,0 +1,48 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for hg commit messages.
|
||||
"
|
||||
" 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("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
if has("spell")
|
||||
syn spell toplevel
|
||||
endif
|
||||
syn match hgComment '^HG:.*' contains=@NoSpell
|
||||
syn match hgModified '^HG: changed .*$' contained containedin=hgComment contains=@NoSpell
|
||||
syn match hgProperty '^HG: \(user:\|branch\|added\|changed\|removed\)'hs=s+3 contained containedin=hgComment nextgroup=hgPropertyValue contains=@NoSpell
|
||||
syn match hgPropertyValue '.*' contained contains=@NoSpell
|
||||
syn match hgAction '^HG: \(added\|changed\|removed\)'hs=s+3 contained containedin=hgComment contains=@NoSpell nextgroup=hgFile
|
||||
syn match hgFile '.*' contained contains=@NoSpell
|
||||
|
||||
hi link hgComment Comment
|
||||
hi link hgModified Special
|
||||
hi link hgProperty Special
|
||||
hi link hgPropertyValue Special
|
||||
hi link hgAction Special
|
||||
hi link hgFile Constant
|
||||
|
||||
let b:current_syntax = "hg"
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/hibernate.vim
Normal file
27
vim/bundle/eclim/syntax/hibernate.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for hibernate mapping files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
39
vim/bundle/eclim/syntax/html.vim
Normal file
39
vim/bundle/eclim/syntax/html.vim
Normal file
@@ -0,0 +1,39 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Extension to default html syntax to support spell checking in plain html
|
||||
" text, and set syntax group for doctype to fix indenting issue w/
|
||||
" IndentAnything.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
source $VIMRUNTIME/syntax/html.vim
|
||||
|
||||
syn region htmlBody start="<body\>" end="</body>"me=e-7 end="</html\>"me=e-7 contains=htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLink,htmlTitle,javaScript,cssStyle,@htmlPreproc,@Spell
|
||||
syn region htmlDoctype start=+<!DOCTYPE+ keepend end=+>+
|
||||
|
||||
syn region htmlTemplate start=+<script[^>]*type=['"]text/template['"][^>]*>+ keepend end=+</script>+me=s-1 contains=htmlTag,htmlEndTag,htmlSpecialChar,htmlComment,htmlLink,javaScript
|
||||
syn clear javaScript
|
||||
syn region javaScript start=+<script\s*\(type\s*=\s*['"]\(text\|application\)/\(java\|ecma\)script['"]\)\?\s*>+ keepend end=+</script>+me=s-1 contains=@htmlJavaScript,htmlCssStyleComment,htmlScriptTag,@htmlPreproc
|
||||
|
||||
hi link htmlDoctype Comment
|
||||
hi link javaScript Normal
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/ivy.vim
Normal file
27
vim/bundle/eclim/syntax/ivy.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for ivy's ivy.xml files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
36
vim/bundle/eclim/syntax/java.vim
Normal file
36
vim/bundle/eclim/syntax/java.vim
Normal file
@@ -0,0 +1,36 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Extension to default java syntax to fix issues or make improvements.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
source $VIMRUNTIME/syntax/java.vim
|
||||
|
||||
" syntax now found in the latest version of java.vim
|
||||
if hlID('javaFold') == 0
|
||||
syn region javaFold start="{" end="}" transparent fold
|
||||
syn match javaAnnotation "@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>"
|
||||
endif
|
||||
|
||||
" allow folding of java doc comments.
|
||||
syn region javaDocComment start="/\*\*" end="\*/" keepend contains=javaCommentTitle,@javaHtml,javaDocTags,javaDocSeeTag,javaTodo,@Spell fold
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
25
vim/bundle/eclim/syntax/junitresult.vim
Normal file
25
vim/bundle/eclim/syntax/junitresult.vim
Normal file
@@ -0,0 +1,25 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for junit result files in xml format.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
49
vim/bundle/eclim/syntax/log4j.vim
Normal file
49
vim/bundle/eclim/syntax/log4j.vim
Normal file
@@ -0,0 +1,49 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax for log4j.xml files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
syn cluster xmlTagHook add=log4jElement
|
||||
|
||||
syn keyword log4jElement display renderer appender category logger root categoryFactory
|
||||
syn keyword log4jElement display errorHandler param layout filter
|
||||
syn keyword log4jElement display priority level
|
||||
|
||||
syn match log4jElement /appender-ref/
|
||||
syn match log4jElement /logger-ref/
|
||||
syn match log4jElement /root-ref/
|
||||
|
||||
syn match log4jElement /log4j:configuration/
|
||||
syn match log4jElement /log4j:event/
|
||||
syn match log4jElement /log4j:eventSet/
|
||||
syn match log4jElement /log4j:message/
|
||||
syn match log4jElement /log4j:NDC/
|
||||
syn match log4jElement /log4j:throwable/
|
||||
syn match log4jElement /log4j:locationInfo/
|
||||
|
||||
hi def link log4jElement Statement
|
||||
|
||||
let b:current_syntax = "ant"
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/mvn_pom.vim
Normal file
27
vim/bundle/eclim/syntax/mvn_pom.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for maven 2.x pom.xml files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
45
vim/bundle/eclim/syntax/mysql.vim
Normal file
45
vim/bundle/eclim/syntax/mysql.vim
Normal file
@@ -0,0 +1,45 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Extension to default mysql syntax to add additional syntax support.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
source $VIMRUNTIME/syntax/mysql.vim
|
||||
|
||||
syn keyword mysqlKeyword engine
|
||||
syn keyword mysqlKeyword if elseif else loop leave while
|
||||
syn keyword mysqlKeyword before close cursor each fetch open set trigger
|
||||
syn keyword mysqlKeyword begin call declare return
|
||||
syn keyword mysqlKeyword delimiter
|
||||
syn keyword mysqlKeyword truncate
|
||||
syn keyword mysqlKeyword duplicate union
|
||||
syn keyword mysqlKeyword interval
|
||||
|
||||
syn keyword sqlTodo TODO FIXME NOTE
|
||||
|
||||
syn match mysqlEscaped "`.\{-}`"
|
||||
|
||||
syn region mysqlVariable start="\(NEW\|OLD\)\." end="\W"
|
||||
|
||||
hi def link sqlComment Comment
|
||||
hi def link sqlTodo Todo
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
38
vim/bundle/eclim/syntax/perl.vim
Normal file
38
vim/bundle/eclim/syntax/perl.vim
Normal file
@@ -0,0 +1,38 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Extension to default perl syntax to support spell checking in comments and
|
||||
" plain POD syntax.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
source $VIMRUNTIME/syntax/perl.vim
|
||||
|
||||
syn match perlComment "#.*" contains=perlTodo,@Spell
|
||||
|
||||
if !exists("perl_include_pod")
|
||||
if exists("perl_fold")
|
||||
syn region perlPOD start="^=[a-z]" end="^=cut" fold contains=@Spell
|
||||
else
|
||||
syn region perlPOD start="^=[a-z]" end="^=cut" contains=@Spell
|
||||
endif
|
||||
endif
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/spring.vim
Normal file
27
vim/bundle/eclim/syntax/spring.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for spring bean xml files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
50
vim/bundle/eclim/syntax/sql.vim
Normal file
50
vim/bundle/eclim/syntax/sql.vim
Normal file
@@ -0,0 +1,50 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Replacement of vim's sql.vim which ensures that ALL db specific syntax
|
||||
" files are sourced.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
" Vim syntax file loader
|
||||
if exists("b:eclim_sql_current_syntax")
|
||||
finish
|
||||
endif
|
||||
let b:eclim_sql_current_syntax = 1
|
||||
|
||||
" Default to the standard Vim distribution file
|
||||
let filename = 'sqloracle'
|
||||
|
||||
" Check for overrides. Buffer variables have the highest priority.
|
||||
if exists("b:sql_type_override")
|
||||
" Check the runtimepath to see if the file exists
|
||||
if globpath(&runtimepath, 'syntax/' . b:sql_type_override . '.vim') != ''
|
||||
let filename = b:sql_type_override
|
||||
endif
|
||||
elseif exists("g:sql_type_default")
|
||||
if globpath(&runtimepath, 'syntax/' . g:sql_type_default . '.vim') != ''
|
||||
let filename = g:sql_type_default
|
||||
endif
|
||||
endif
|
||||
|
||||
" Source the appropriate files
|
||||
exec 'runtime! syntax/' . filename . '.vim'
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/strutsconfig.vim
Normal file
27
vim/bundle/eclim/syntax/strutsconfig.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for struts-config.xml files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/tld.vim
Normal file
27
vim/bundle/eclim/syntax/tld.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for taglib definition files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/webxml.vim
Normal file
27
vim/bundle/eclim/syntax/webxml.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for web.xml files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
27
vim/bundle/eclim/syntax/wsdl.vim
Normal file
27
vim/bundle/eclim/syntax/wsdl.vim
Normal file
@@ -0,0 +1,27 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Syntax file for wsdl files.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
runtime! syntax/xml.vim
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
43
vim/bundle/eclim/syntax/xml.vim
Normal file
43
vim/bundle/eclim/syntax/xml.vim
Normal file
@@ -0,0 +1,43 @@
|
||||
" Author: Eric Van Dewoestine
|
||||
"
|
||||
" Description: {{{
|
||||
" Default xml.vim only defines the xmlRegion if xml folding is enabled, but
|
||||
" xmlRegion is needed to allow spell check highlighting of xml text.
|
||||
"
|
||||
" 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/>.
|
||||
"
|
||||
" }}}
|
||||
|
||||
source $VIMRUNTIME/syntax/xml.vim
|
||||
|
||||
" the c# syntax file loads syntax/xml.vim, but the below changes may break
|
||||
" syntax highlighting in c#
|
||||
if &ft == 'cs'
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('g:xml_syntax_folding')
|
||||
" taken from syntax/xml.vim, but removed unecessary portions.
|
||||
syn region xmlRegion
|
||||
\ start=+<\z([^ /!?<>"']\+\)+
|
||||
\ skip=+<!--\_.\{-}-->+
|
||||
\ end=+</\z1\_\s\{-}>+
|
||||
\ contains=xmlTag,xmlEndTag,xmlCdata,xmlRegion,xmlComment,xmlEntity,xmlProcessing,@xmlRegionHook,@Spell
|
||||
endif
|
||||
|
||||
" vim:ft=vim:fdm=marker
|
||||
Reference in New Issue
Block a user