Permalink
Browse files

Update plugin/clang_complete.vim

simple fix for #264 after 3 hours of struggling..
  • Loading branch information...
1 parent e88527c commit 9cd7b207209d1cc511f3830d198ada1e7e2cb50a @gokcehan gokcehan committed Feb 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 9cd7b20

Please sign in to comment.