diff --git a/doc/content/vim/xml/index.rst b/doc/content/vim/xml/index.rst index 7848f2007..1ea3a4cbf 100644 --- a/doc/content/vim/xml/index.rst +++ b/doc/content/vim/xml/index.rst @@ -99,8 +99,8 @@ following command is still available for validating xml files on demand. .. _\:Validate_xml: -**:Validate** [] - -Validate the supplied file or the current file if no file name provided. +**:Validate** - +Validate the the current file. If eclimd is not currently running, and the xmllint command is available, eclim will validate the xml file using that. Eclim will never use xmllint diff --git a/org.eclim.core/vim/eclim/ftplugin/xml.vim b/org.eclim.core/vim/eclim/ftplugin/xml.vim index 1408e339a..e95636549 100644 --- a/org.eclim.core/vim/eclim/ftplugin/xml.vim +++ b/org.eclim.core/vim/eclim/ftplugin/xml.vim @@ -33,7 +33,7 @@ endif " Command Declarations {{{ if !exists(":Validate") - command -nargs=0 -complete=file -bang -buffer Validate + command -nargs=0 -bang -buffer Validate \ :call eclim#xml#validate#Validate(0, '') command -nargs=? -buffer DtdDefinition