diff options
Diffstat (limited to '.config/nvim/plug-config/asyncomplete.vim')
-rw-r--r-- | .config/nvim/plug-config/asyncomplete.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/nvim/plug-config/asyncomplete.vim b/.config/nvim/plug-config/asyncomplete.vim new file mode 100644 index 0000000..60c9cf1 --- /dev/null +++ b/.config/nvim/plug-config/asyncomplete.vim @@ -0,0 +1,11 @@ +autocmd User asyncomplete_setup call asyncomplete#register_source( + \ asyncomplete#sources#clang#get_source_options({ + \ 'config': { + \ 'clang_path': '/usr/bin/cc', + \ 'clang_args': { + \ 'default': ['-I/usr/include'], + \ 'c': ['-std=c89', '-I/usr/include'], + \ 'cpp': ['-std=c++98', '-I/usr/include'] + \ } + \ } + \ })) |