Open adam900710 opened 4 years ago
Example using external compile_commands directory, and remove the header insertion decorators to remove the strange dot.
let g:lsc_server_commands = { \ 'c': 'clangd --compile-commands-dir=~/compile_commands.d/kernel/ --header-insertion-decorators=false', \ 'cpp': 'clangd --compile-commands-dir=~/compile_commands.d/kernel/ --header-insertion-decorators=false', \ }
Cquery is not even provided by official repos in some distros, and clangd has much better features. (And the wiki already says clang, but still using cquery)
The wiki is open for anyone to edit. I replaced the cquery section with what I use for clangd. Feel free to improve on it if you want.
Example using external compile_commands directory, and remove the header insertion decorators to remove the strange dot.
Cquery is not even provided by official repos in some distros, and clangd has much better features. (And the wiki already says clang, but still using cquery)