From 48d755f58d4958fd9e3cb0c62fbef3589d6606d0 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 5 Sep 2023 14:06:02 +0200 Subject: up --- .config/nvim/lua/plugs-config/asyncomplete.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .config/nvim/lua/plugs-config/asyncomplete.lua (limited to '.config/nvim/lua/plugs-config/asyncomplete.lua') 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'] + \ } + \ } + \ })) +]] -- cgit v1.2.3