idanarye / vim-dutyl

Coordinate D tools to work together for you
http://www.vim.org/scripts/script.php?script_id=5003
79 stars 13 forks source link

Auto-start dcd-serer? #20

Closed miguelmartin75 closed 9 years ago

miguelmartin75 commented 9 years ago

Why doens't this plugin automatically start dcd-server if it's not running? Unless it does, however it does not for me.

idanarye commented 9 years ago

Unless I change the VimProc requirement from optional to mandatory, I can't run dcd-server as a subprocess. This means that I won't be able to automatically close it once the user closes Vim. I don't want to spawn such daemon behind the user's back - as long as I don't completely control the process from the plugin I believe the user should be the one to decide when to start/stop it.

I do, however, provide helpers - the :DUDCDstartServer, :DUDCDstopServer and :DUDCDrestartServer can be used to easily control dcd-server from Vim. So even if I don't start it automatically for you, you can easily start it yourself.

miguelmartin75 commented 9 years ago

Ah okay, thanks.