You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
weechat-xmpp/.dir-locals.el

23 lines
1.4 KiB
EmacsLisp

7 years ago
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((c-mode
(eval . (setq-local flycheck-clang-include-path
4 years ago
(list (expand-file-name "libstrophe" (projectile-project-root))
7 years ago
(expand-file-name "json-c" (projectile-project-root)))))
(eval . (setq-local company-clang-arguments
4 years ago
(list (concat "-I" (expand-file-name "libstrophe" (projectile-project-root)))
7 years ago
(concat "-I" (expand-file-name "json-c" (projectile-project-root))))))
7 years ago
(eval . (setq-local tags-table-list (expand-file-name ".git/tags" (projectile-project-root))))
(eval . (setq-local gud-gdb-command-name
(string-join `("gdb"
"-ex 'handle SIGPIPE nostop noprint pass'"
,(concat "--args weechat -a -P 'alias,buflist,exec,irc' -r '/plugin load "
(expand-file-name "xmpp.so" (projectile-project-root))
"'; /debug tags"))
" ")))
7 years ago
(flycheck-clang-warnings . ("all" "extra" "error-implicit-function-declaration" "no-missing-field-initializers"))
(flycheck-clang-language-standard . "gnu99")
(flycheck-checker . c/c++-clang)
(projectile-project-compilation-cmd . "scan-build-3.8 make -j8")))