Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update plugin/clang_complete.vim

simple fix for #264 after 3 hours of struggling..
  • Loading branch information...
commit 9cd7b207209d1cc511f3830d198ada1e7e2cb50a 1 parent e88527c
@gokcehan gokcehan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugin/clang_complete.vim
View
2  plugin/clang_complete.vim
@@ -271,7 +271,7 @@ function! s:initClangCompletePython(user_requested)
python import sys
exe 'python sys.path = ["' . s:plugin_path . '"] + sys.path'
- exe 'pyfile ' . s:plugin_path . '/libclang.py'
+ exe 'pyfile ' . fnameescape(s:plugin_path) . '/libclang.py'
py vim.command('let l:res = ' + str(initClangComplete(vim.eval('g:clang_complete_lib_flags'), vim.eval('g:clang_compilation_database'), vim.eval('g:clang_library_path'), vim.eval('a:user_requested'))))
if l:res == 0
return 0
Please sign in to comment.
Something went wrong with that request. Please try again.