setlocal omnifunc=dcomplete#Complete if has('win32') command! -buffer -nargs=* -complete=dir DCDstartServer execute '!start '.dcomplete#DCDserver().' '.dcomplete#initImportPath(). \ ' '.dcomplete#globImportPath([]) else command! -buffer -nargs=* -complete=dir DCDstartServer execute '!'.dcomplete#DCDserver().' '.dcomplete#initImportPath(). \ ' '.dcomplete#globImportPath([]).' > /dev/null &' endif command! -buffer -nargs=? DCD execute '!'.dcomplete#DCDclient().' '. command! -buffer -nargs=? DCDonCurrentBufferPosition echo dcomplete#runDCDOnCurrentBufferPosition() command! -buffer DCDstopServer DCD --shutdown command! -buffer -nargs=+ -complete=dir DCDaddPath execute 'DCD '.dcomplete#globImportPath([]) command! -buffer DCDclearCache DCD --clearCache command! -buffer DCDdoc DCDonCurrentBufferPosition --doc command! -buffer DCDsymbolLocation call dcomplete#runDCDtoJumpToSymbolLocation()