diff --git a/plugin/clang_complete.vim b/plugin/clang_complete.vim index e8896068..96c5155b 100644 --- a/plugin/clang_complete.vim +++ b/plugin/clang_complete.vim @@ -411,7 +411,7 @@ function! s:ClangQuickFix() syntax clear SpellBad syntax clear SpellLocal - python vim.command('let l:list = ' + str(getCurrentQuickFixList())) + let l:list = pyeval('getCurrentQuickFixList()') python highlightCurrentDiagnostics() if g:clang_complete_copen == 1