fix(emacs/lean-mode): enable company-etags in lean-mode
This commit is contained in:
parent
272c463182
commit
39f9826dca
1 changed files with 3 additions and 2 deletions
|
@ -109,8 +109,9 @@
|
|||
(eldoc-mode +1)
|
||||
(when lean-company-use
|
||||
(require 'company)
|
||||
(set (make-local-variable 'company-backends) '(company-etags))
|
||||
(company-mode t))))
|
||||
(company-mode t)
|
||||
(add-to-list 'company-etags-modes 'lean-mode)
|
||||
(set (make-local-variable 'company-backends) '(company-etags)))))
|
||||
"A mode for Lean files" ;; doc string for this mode
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue