Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

prevent get_paths to return None #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ftplugin/fsharpvim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down