diff --git a/ftplugin/fsharpvim.py b/ftplugin/fsharpvim.py index db0335a..9f86b28 100644 --- a/ftplugin/fsharpvim.py +++ b/ftplugin/fsharpvim.py @@ -162,7 +162,10 @@ def quit(self): self.logfile.close() def get_paths(self): - return self._getpaths.send("compilerlocation\n") + paths = self._getpaths.send("compilerlocation\n") + if paths is None: + return {} + return paths def complete(self, fn, line, column, base): self.__log('complete: base = %s\n' % base)