Skip to content

Instantly share code, notes, and snippets.

@sergeyklay sergeyklay/.dir-local.el
Last active Apr 28, 2019

Embed
What would you like to do?
.dir-local.el for PHP-extension
;;; Directory Local Variables
;; For more information see (info "(emacs) Directory Variables")
((nil . ((intent-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
You can’t perform that action at this time.