Tony Olagbaiye 7 years ago
parent e6c48d79ea
commit 638abde1f9

@ -8,6 +8,7 @@
(eval . (setq-local company-clang-arguments (eval . (setq-local company-clang-arguments
(list (concat "-I" (expand-file-name "libwebsockets/include" (projectile-project-root))) (list (concat "-I" (expand-file-name "libwebsockets/include" (projectile-project-root)))
(concat "-I" (expand-file-name "json-c" (projectile-project-root)))))) (concat "-I" (expand-file-name "json-c" (projectile-project-root))))))
(eval . (setq-local tags-table-list (expand-file-name ".git/tags" (projectile-project-root))))
(flycheck-clang-warnings . ("all" "extra" "error-implicit-function-declaration" "no-missing-field-initializers")) (flycheck-clang-warnings . ("all" "extra" "error-implicit-function-declaration" "no-missing-field-initializers"))
(flycheck-clang-language-standard . "gnu99") (flycheck-clang-language-standard . "gnu99")
(flycheck-checker . c/c++-clang) (flycheck-checker . c/c++-clang)

@ -66,7 +66,7 @@ install: slack.so
.PHONY: tags cs .PHONY: tags cs
tags: tags:
ctags -f .git/tags -R *.c *.h $(CC) $(CFLAGS) -M $(SRCS) | sed -e "s/[\\ ]/\n/g" | sed -e "/^$$/d" -e "/\.o:[ \t]*$$/d" | sort | uniq | ctags -e -L - -f .git/tags -R --c-kinds=+px --c++-kinds=+px --fields=+iaS --extra=+fq
cs: cs:
cscope -RUbq cscope -RUbq

Loading…
Cancel
Save