add company-math to latex layer auto-completion
This commit is contained in:
parent
5f5b3ea92e
commit
cb11828c88
1 changed files with 3 additions and 2 deletions
|
@ -16,6 +16,7 @@
|
||||||
auctex-latexmk
|
auctex-latexmk
|
||||||
company
|
company
|
||||||
company-auctex
|
company-auctex
|
||||||
|
company-math
|
||||||
evil-matchit
|
evil-matchit
|
||||||
flycheck
|
flycheck
|
||||||
flyspell
|
flyspell
|
||||||
|
@ -94,8 +95,8 @@
|
||||||
(progn
|
(progn
|
||||||
(push 'company-auctex-labels company-backends-LaTeX-mode)
|
(push 'company-auctex-labels company-backends-LaTeX-mode)
|
||||||
(push 'company-auctex-bibs company-backends-LaTeX-mode)
|
(push 'company-auctex-bibs company-backends-LaTeX-mode)
|
||||||
(push '(company-auctex-macros company-auctex-symbols company-auctex-environments)
|
(push '(company-auctex-macros company-auctex-symbols company-auctex-environments) company-backends-LaTeX-mode)
|
||||||
company-backends-LaTeX-mode)))))
|
(push 'company-math company-backends-LaTeX-mode)))))
|
||||||
|
|
||||||
(defun latex/post-init-evil-matchit ()
|
(defun latex/post-init-evil-matchit ()
|
||||||
(add-hook 'LaTeX-mode-hook 'evil-matchit-mode))
|
(add-hook 'LaTeX-mode-hook 'evil-matchit-mode))
|
||||||
|
|
Reference in a new issue