Skip to content

Commit

Permalink
Use vim.call over vim.eval
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Oct 26, 2015
1 parent 650c5bb commit c650922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rplugin/python3/deoplete/sources/clang_complete.py
Expand Up @@ -16,7 +16,7 @@ def __init__(self, vim):
self.min_pattern_length = 1

def get_complete_position(self, context):
return self.vim.eval("ClangComplete(1, 0)")
return self.vim.call('ClangComplete', 1, 0)

def gather_candidates(self, context):
return self.vim.eval("ClangComplete(0, \"\")")
return self.vim.call('ClangComplete', 0, '')

0 comments on commit c650922

Please sign in to comment.