forked from VimPlug/jedi
fix add_bracket_after_function had no effect (#1297)
* fix add_bracket_after_function had no effect * added test for fix * using monkeypatch to set add_bracket_after_function.
This commit is contained in:
committed by
Dave Halter
parent
c801e24afc
commit
e843c6108d
@@ -397,7 +397,7 @@ class Completion(BaseDefinition):
|
||||
def _complete(self, like_name):
|
||||
append = ''
|
||||
if settings.add_bracket_after_function \
|
||||
and self.type == 'Function':
|
||||
and self.type == 'function':
|
||||
append = '('
|
||||
|
||||
if self._name.api_type == 'param' and self._stack is not None:
|
||||
|
||||
Reference in New Issue
Block a user