I'm trying to setup clangd
with Neovim built-in LSP Config and it is working fine. Problem is, usually I compile everything with the flags -Wall -Wextra -Werror
, how can I make clangd
use these flags when analyzing code and prompt for errors?
Thanks in advance :)