Update erlang config file
This commit is contained in:
parent
8d0fede865
commit
5acabc7fd3
1 changed files with 7 additions and 3 deletions
|
|
@ -61,6 +61,8 @@
|
||||||
(plist-get erlang/current-erlang :erlang-path)))
|
(plist-get erlang/current-erlang :erlang-path)))
|
||||||
|
|
||||||
(require 'erlang-start)
|
(require 'erlang-start)
|
||||||
|
(set-indent 2)
|
||||||
|
(column-enforce-n 80)
|
||||||
|
|
||||||
;; Set specific ctags command
|
;; Set specific ctags command
|
||||||
(setq-local
|
(setq-local
|
||||||
|
|
@ -77,12 +79,14 @@
|
||||||
;; missing header files.
|
;; missing header files.
|
||||||
(setq-local flycheck-erlang-include-path
|
(setq-local flycheck-erlang-include-path
|
||||||
(list (format "%sdeps" (projectile-project-root))
|
(list (format "%sdeps" (projectile-project-root))
|
||||||
|
(format "%s_build/default/lib" (projectile-project-root))
|
||||||
(format "%sinclude" (projectile-project-root))
|
(format "%sinclude" (projectile-project-root))
|
||||||
(format "%sapps" (projectile-project-root))))
|
(format "%sapps" (projectile-project-root))))
|
||||||
|
|
||||||
;; (setq-local flycheck-erlang-library-path
|
(setq-local flycheck-erlang-library-path
|
||||||
;; (list (format "%sdeps" (projectile-project-root))
|
(list (format "%sdeps" (projectile-project-root))
|
||||||
;; (format "%sapps" (projectile-project-root))))
|
(format "%s_build/default/lib" (projectile-project-root))
|
||||||
|
(format "%sapps" (projectile-project-root))))
|
||||||
|
|
||||||
;; Company list override
|
;; Company list override
|
||||||
(add-to-list (make-local-variable 'company-backends)
|
(add-to-list (make-local-variable 'company-backends)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue