1
0
forked from VimPlug/jedi

parsing.PyFuzzyParser -> Parser

This commit is contained in:
David Halter
2013-02-04 16:18:24 +01:00
parent e1ab3855fa
commit 95c5b9a5e3
6 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ class ModuleWithCursor(Module):
length = settings.part_line_length
offset = max(self.position[0] - length, 0)
s = '\n'.join(self.source.splitlines()[offset:offset + length])
self._part_parser = parsing.PyFuzzyParser(s, self.path, self.position,
self._part_parser = parsing.Parser(s, self.path, self.position,
line_offset=offset)
return self._part_parser