1
0
forked from VimPlug/jedi

A few more tests for path completions (join)

This commit is contained in:
Dave Halter
2019-08-07 21:11:48 +02:00
parent e68273c0ff
commit a191b7b458
2 changed files with 8 additions and 1 deletions

View File

@@ -102,7 +102,7 @@ def _maybe_add_os_path_join(module_context, start_leaf, string):
def check_trailer(trailer, arglist_nodes):
atom = trailer.get_previous_sibling()
if atom.type != 'trailer':
if atom.type != 'trailer' and trailer.children[0] == '(':
return check_for_power(atom, arglist_nodes)
return string, False