summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugs-config/asyncomplete.lua
blob: da28c37adc40097f29b724ba0072fa010a13113f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
vim.cmd [[
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']
    \         }
    \     }
    \ }))
]]