Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

silence :%s/></... line when the output is empty

  • Loading branch information...
commit 414c50bcc50a8f2ed6141e082dcf7d85d8dadda5 1 parent 0ca3e9d
@coledarr authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugin/vim-xqmarklogic.vim
View
2  plugin/vim-xqmarklogic.vim
@@ -59,6 +59,6 @@ function! s:QueryMarkLogic(fname)
execute 'r! curl --digest --user ' . s:user . ':' . s:password . ' -s -X PUT -d@"' . a:fname . '" ' . s:uri . s:host . ':' . s:port . s:xq
"execut 'r! curl --digest --user admin:password -s -X PUT -d@"' . a:fname . '" http://localhost:8002/xq.xqy'
- :%s/></>
+ silent! :%s/></>
</g
normal gg=G
Please sign in to comment.
Something went wrong with that request. Please try again.