Last active
March 29, 2020 16:21
-
-
Save sergeyklay/99311a8e710f1476f4af9baf12efa63c to your computer and use it in GitHub Desktop.
.dir-local.el for PHP-extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Directory Local Variables | |
;; For more information see (info "(emacs) Directory Variables") | |
((nil . ((indent-tabs-mode . t) | |
(fill-column . 80))) | |
(c-mode . ((c-file-style . "k&r") | |
(tab-width . 4) | |
(c-basic-offset . 4) | |
(flycheck-checker . c/c++-gcc) | |
(flycheck-disabled-checkers c/c++-clang) | |
(flycheck-gcc-language-standard . "gnu99") | |
(eval . | |
(setq-local | |
flycheck-gcc-include-path | |
(list | |
(projectile-project-root) | |
(expand-file-name "~/src/php/7.3.0") | |
(expand-file-name "~/src/php/7.3.0/main") | |
(expand-file-name "~/src/php/7.3.0/Zend") | |
(expand-file-name "~/src/php/7.3.0/TSRM") | |
(expand-file-name "~/src/php/7.3.0/sapi") | |
(expand-file-name "~/src/php/7.3.0/ext"))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment