Apparently tested an unsaved file -_-
This commit is contained in:
parent
3617ce69db
commit
485457af5d
@ -80,7 +80,7 @@ class CsharpCompleter( ThreadedCompleter ):
|
|||||||
def _StartServer( self ):
|
def _StartServer( self ):
|
||||||
""" Start the OmniSharp server """
|
""" Start the OmniSharp server """
|
||||||
if not self._ServerIsRunning():
|
if not self._ServerIsRunning():
|
||||||
solutionfiles = self._FindSolutionFiles()
|
solutionfiles, folder = self._FindSolutionFiles()
|
||||||
|
|
||||||
if len( solutionfiles ) == 0:
|
if len( solutionfiles ) == 0:
|
||||||
vimsupport.PostVimMessage(
|
vimsupport.PostVimMessage(
|
||||||
@ -125,7 +125,7 @@ class CsharpCompleter( ThreadedCompleter ):
|
|||||||
if folder == lastfolder:
|
if folder == lastfolder:
|
||||||
break
|
break
|
||||||
solutionfiles = glob.glob1( folder, '*.sln' )
|
solutionfiles = glob.glob1( folder, '*.sln' )
|
||||||
return solutionfiles
|
return solutionfiles, folder
|
||||||
|
|
||||||
def _GetCompletions( self ):
|
def _GetCompletions( self ):
|
||||||
""" Ask server for completions """
|
""" Ask server for completions """
|
||||||
|
Loading…
Reference in New Issue
Block a user