emacs/var/elfeed/db/data/bd/bdeffe5d995b4a7e1b3dfc6f1bcef0f7fcf35d65
2022-01-03 12:49:32 -06:00

1 line
968 B
Plaintext

<!-- SC_OFF --><div class="md"><p>Hi,</p> <p>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:</p> <pre><code>(add-hook &#39;c++-mode-hook (lambda () (setq flycheck-clang-include-path (list (expand-file-name &quot;~/.conan/data/&quot;))))) </code></pre> <p>But it doesn&#39;t seem to work... Can you advice me how to include certain dir to path?</p> <p>Also I use `lsp-clangd` backend.. Maybe something to be set there?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/wiccy47"> /u/wiccy47 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r7ynmw/c_dev_how_to_add_path_to_intellisense_in/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/r7ynmw/c_dev_how_to_add_path_to_intellisense_in/">[comments]</a></span>