ncm2 / ncm2-pyclang

Cached, fast C/C++ completion for ncm2
MIT License
45 stars 1 forks source link

include file completion dosen't work #17

Closed ho1messi closed 6 years ago

ho1messi commented 6 years ago

First, I got an error when typing a include file's name.

[ncm2_pyclang_proc@yarp] neovim.api.nvim.NvimError: request from non-main thread

image

The completion about the functions in the include file doesn't work, and the completion about works.

I got the clang installed and set the variables follow readme:

let g:ncm2_pyclang#library_path = '/usr/local/lib/' let g:ncm2_pyclang#database_path = [ \ 'compile_commands.json', \ 'build/compile_commands.json' \ ]