1 line
968 B
Plaintext
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 'c++-mode-hook (lambda () (setq flycheck-clang-include-path (list (expand-file-name "~/.conan/data/"))))) </code></pre> <p>But it doesn'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 -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/emacs/comments/r7ynmw/c_dev_how_to_add_path_to_intellisense_in/">[comments]</a></span> |