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