DCD/editors/vim/ftplugin/d.vim

7 lines
308 B
VimL

setlocal omnifunc=dcomplete#Complete
command! -buffer DCDstartServer execute '!'.dcomplete#DCDserver().' > /dev/null &'
command! -buffer -nargs=? DCD execute '!'.dcomplete#DCDclient().' '.<q-args>
command! -buffer DCDstopServer DCD --shutdown
command! -buffer -nargs=1 -complete=dir DCDaddPath DCD -I<args>