Fixing some cs completer subcommands failing

The subcommand would execute correctly, but since there would be no return
statement, it would hit the bottom of the function and raise an error.
This commit is contained in:
Strahinja Val Markovic 2013-10-26 12:28:10 -07:00
parent 3795f4f11c
commit 63534e1a6f

View File

@ -88,13 +88,13 @@ class CsharpCompleter( Completer ):
command = arguments[ 0 ]
if command == 'StartServer':
self._StartServer( request_data )
return self._StartServer( request_data )
elif command == 'StopServer':
self._StopServer()
return self._StopServer()
elif command == 'RestartServer':
if self._ServerIsRunning():
self._StopServer()
self._StartServer( request_data )
return self._StartServer( request_data )
elif command == 'ServerRunning':
return self._ServerIsRunning()
elif command in [ 'GoToDefinition',