Merge pull request #606 from alexeyr/company-auctex
Add company backends for AUCTeX
This commit is contained in:
commit
275289a497
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,11 @@
|
|||
(prelude-require-packages '(auctex))
|
||||
(require 'smartparens-latex)
|
||||
|
||||
(eval-after-load "company"
|
||||
'(progn
|
||||
(prelude-require-packages '(company-auctex))
|
||||
(company-auctex-init)))
|
||||
|
||||
;; AUCTeX configuration
|
||||
(setq TeX-auto-save t)
|
||||
(setq TeX-parse-self t)
|
||||
|
@ -57,6 +62,7 @@
|
|||
("HTML Viewer" "open %o"))))
|
||||
|
||||
(defun prelude-latex-mode-defaults ()
|
||||
"Default Prelude hook for `LaTeX-mode'."
|
||||
(turn-on-auto-fill)
|
||||
(abbrev-mode +1)
|
||||
(smartparens-mode +1))
|
||||
|
|
Loading…
Reference in a new issue