cc-mode: ignore errors if include path does not exist
This commit is contained in:
parent
10c7444a79
commit
1cd8d8d0c3
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
(setq-default company-c-headers-path-system
|
(setq-default company-c-headers-path-system
|
||||||
(append '("/usr/include/" "/usr/local/include")
|
(append '("/usr/include/" "/usr/local/include")
|
||||||
(f-directories "/usr/include/c++/")
|
(f-directories "/usr/include/c++/")
|
||||||
(f-directories "/usr/local/include/c++/")))
|
(ignore-errors (f-directories "/usr/local/include/c++/"))))
|
||||||
(after! flycheck
|
(after! flycheck
|
||||||
(setq-default flycheck-clang-include-path '("/usr/local/include")
|
(setq-default flycheck-clang-include-path '("/usr/local/include")
|
||||||
flycheck-gcc-include-path '("/usr/local/include"))))
|
flycheck-gcc-include-path '("/usr/local/include"))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue