Automatically run ctags command on save
This commit is contained in:
parent
cebb82f39e
commit
b16f9bbd22
4 changed files with 42 additions and 16 deletions
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
;; Set specific ctags command
|
||||
(setq-local
|
||||
ctags-refresh-command
|
||||
ctags/refresh-command
|
||||
(format
|
||||
"ctags -e -R --languages=erlang -f %sTAGS %s. %slib/stdlib-* %slib/kernel-*"
|
||||
(projectile-project-root) (projectile-project-root)
|
||||
|
|
@ -44,4 +44,7 @@
|
|||
|
||||
(activate-erlang-mode)
|
||||
;; Enable flycheck
|
||||
(flycheck-select-checker 'erlang-otp))
|
||||
(flycheck-select-checker 'erlang-otp)
|
||||
|
||||
;; Automatically update tags on save
|
||||
(ctags/update-this-mode-on-save 'erlang-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue