i need to pass --query-driver=/usr/lib/gcc/arm-none-eabi/8.3.1/
to clangd to suppress an invalid header error message from LSP.
file:///home/ajit/Pictures/Screenshot%20from%202022-11-04%2019-18-53.png
i tried to plug it into .emacs.d/.local/straight/repos/lsp-mode/clients/lsp-clangd.el
:
(defcustom lsp-clients-clangd-args '("--header-insertion-decorators=0", "--query-driver=/usr/lib/gcc/arm-none-eabi/8.3.1/")
"Extra arguments for the clangd executable."
:group 'lsp-clangd
:risky t
:type '(repeat string))
but does nothing… what am i doing wrong?
edit: lsp log:
Command "/home/ajit/.emacs.d/.local/etclsp/clangd/clangd_13.0.0/bin/clangd --header-insertion-decorators=0" is present on the path.
so my edit is not being passed by lsp… how do I update the config?