" Author: Eric Van Dewoestine " " Description: {{{ " see http://eclim.org/vim/php/buildpath.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 . " " }}} " Script Variables {{{ let s:entry_src = \ "\t\"/>" let s:entry_lib = \ "\t\"/>" let s:entry_project = \ "\t\"/>" let s:entry_var = \ "\t\"/>" " }}} " load any xml related functionality runtime! ftplugin/xml.vim runtime! indent/xml.vim augroup eclim_xml autocmd! BufWritePost autocmd BufWritePost call eclim#project#util#ProjectUpdate() augroup END let b:EclimRefreshDisabled = 1 " Command Declarations {{{ if !exists(":NewSrcEntry") command -nargs=+ -complete=customlist,eclim#project#util#CommandCompleteProjectRelative -buffer \ NewSrcEntry :call eclim#dltk#buildpath#NewBuildPathEntry \ (substitute('', '\', '/', 'g') , s:entry_src) endif if !exists(":NewLibEntry") command -nargs=+ -complete=dir -buffer \ NewLibEntry :call eclim#dltk#buildpath#NewBuildPathEntry \ (substitute('', '\', '/', 'g') , s:entry_lib) endif if !exists(":NewProjectEntry") command -nargs=+ -complete=customlist,eclim#dltk#util#CommandCompleteProject -buffer \ NewProjectEntry :call eclim#dltk#buildpath#NewBuildPathEntry('', s:entry_project) endif " Disabled until org.eclipse.dltk.internal.core.BuildpathEntry.elementDecode " starts supporting kind="var" "if !exists(":NewVarEntry") " command -nargs=+ -complete=customlist,eclim#dltk#buildpath#CommandCompleteVarPath -buffer " \ NewVarEntry " \ :call eclim#dltk#buildpath#NewBuildPathEntry('', s:entry_var) "endif "if !exists(":VariableList") " command -buffer VariableList :call eclim#dltk#buildpath#VariableList() "endif "if !exists(":VariableCreate") " command -nargs=+ -buffer -complete=customlist,eclim#dltk#buildpath#CommandCompleteVarAndDir " \ VariableCreate :call eclim#dltk#buildpath#VariableCreate() "endif "if !exists(":VariableDelete") " command -nargs=1 -buffer -complete=customlist,eclim#dltk#buildpath#CommandCompleteVar " \ VariableDelete :call eclim#dltk#buildpath#VariableDelete('') "endif " }}} " vim:ft=vim:fdm=marker