c++ flycheck settings: setq -> setq-default

This commit is contained in:
Henrik Lissner 2015-07-27 15:12:06 +02:00
parent 7d2163c6b2
commit 581de066a9

View file

@ -33,10 +33,10 @@
(progn ; C/C++ Settings (progn ; C/C++ Settings
(when IS-MAC (when IS-MAC
(after! flycheck (after! flycheck
(setq flycheck-clang-language-standard "c++11" (setq-default flycheck-clang-language-standard "c++11"
flycheck-clang-standard-library "libc++" flycheck-clang-standard-library "libc++"
flycheck-c/c++-clang-executable "clang++" flycheck-c/c++-clang-executable "clang++"
flycheck-clang-include-path '("/usr/local/include")))) flycheck-clang-include-path '("/usr/local/include"))))
(after! company (after! company
;; TODO Clang is *really* slow in larger projects, maybe replace it with ;; TODO Clang is *really* slow in larger projects, maybe replace it with