Skip to content

Commit

Permalink
Fix strip to non arg
Browse files Browse the repository at this point in the history
Signed-off-by: Koichi Shiraishi <k@zchee.io>
  • Loading branch information
zchee committed Feb 28, 2016
1 parent 2bee0c7 commit 95fc575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rplugin/python3/deoplete/sources/go.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_complete_position(self, context):
def gather_candidates(self, context):
buf = self.vim.current.buffer
pkgs = self.GetCurrentImportPackages(buf)
parent = str(context['input']).strip('\t')
parent = str(context['input']).strip()
pkg_data = os.path.join(self.data_directory, parent + 'json')

if parent.strip('.') not in pkgs and '.' in parent \
Expand Down

0 comments on commit 95fc575

Please sign in to comment.