Hi,

I use Conan package manager for manage my external libraries which locate in `~/.conan/data`. I am currently using Spacesmacs and wonder how I can add that folder to to syntax checking. I added this hook to the user-config:

(add-hook 'c++-mode-hook (lambda () (setq flycheck-clang-include-path (list (expand-file-name "~/.conan/data/"))))) 

But it doesn't seem to work... Can you advice me how to include certain dir to path?

Also I use `lsp-clangd` backend.. Maybe something to be set there?

submitted by /u/wiccy47
[link] [comments]