Apparently tested an unsaved file -_-

This commit is contained in:
Chiel92 2013-07-16 16:12:40 +02:00
parent 3617ce69db
commit 485457af5d

View File

@ -80,7 +80,7 @@ class CsharpCompleter( ThreadedCompleter ):
def _StartServer( self ):
""" Start the OmniSharp server """
if not self._ServerIsRunning():
solutionfiles = self._FindSolutionFiles()
solutionfiles, folder = self._FindSolutionFiles()
if len( solutionfiles ) == 0:
vimsupport.PostVimMessage(
@ -125,7 +125,7 @@ class CsharpCompleter( ThreadedCompleter ):
if folder == lastfolder:
break
solutionfiles = glob.glob1( folder, '*.sln' )
return solutionfiles
return solutionfiles, folder
def _GetCompletions( self ):
""" Ask server for completions """