Added the clearCache command

This commit is contained in:
IdanArye 2013-08-30 03:50:48 +03:00
parent 066c1d6058
commit 94e43ada35
2 changed files with 3 additions and 0 deletions
editors/vim

View File

@ -34,5 +34,7 @@ Use the `DCD` command to send arbitary commands to the server via the client.
The syntax is the same as with `dcd-client`, so you can use it without
arguments to print the help message.
Use `DCDclearCache` to clear the DCD server cache.
When the server is running, use `CTRL`+`x` `CTRL`+`o` in a D buffer to use DCD
completion.

View File

@ -10,3 +10,4 @@ endif
command! -buffer -nargs=? DCD execute '!'.dcomplete#DCDclient().' '.<q-args>
command! -buffer DCDstopServer DCD --shutdown
command! -buffer -nargs=+ -complete=dir DCDaddPath execute 'DCD '.dcomplete#globImportPath([<f-args>])
command! -buffer DCDclearCache DCD --clearCache