diff options
author | Joe <rrbo@proton.me> | 2023-09-05 14:06:02 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-09-05 14:06:02 +0200 |
commit | 48d755f58d4958fd9e3cb0c62fbef3589d6606d0 (patch) | |
tree | 93c0b8d22a3194fc8cb4aa0fc4168185cde0144d /.config/nvim/lua/plugs-config/asyncomplete.lua | |
parent | up (diff) | |
download | dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.tar.gz dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.tar.bz2 dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.tar.xz dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.tar.zst dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.zip |
up
Diffstat (limited to '.config/nvim/lua/plugs-config/asyncomplete.lua')
-rw-r--r-- | .config/nvim/lua/plugs-config/asyncomplete.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugs-config/asyncomplete.lua b/.config/nvim/lua/plugs-config/asyncomplete.lua new file mode 100644 index 0000000..da28c37 --- /dev/null +++ b/.config/nvim/lua/plugs-config/asyncomplete.lua @@ -0,0 +1,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'] + \ } + \ } + \ })) +]] |