mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2026-11-23 06:38:57 +01:00
fix latex dabbrev completion, enable corfu globally
This commit is contained in:
18
lisp/init-latex.el
Normal file
18
lisp/init-latex.el
Normal file
@@ -0,0 +1,18 @@
|
||||
;; -*- lexical-binding: nil; -*-
|
||||
|
||||
(setopt text-mode-ispell-word-completion nil)
|
||||
|
||||
(use-package latex
|
||||
:ensure nil
|
||||
|
||||
:mode
|
||||
("\\.tex\\'" . latex-mode)
|
||||
|
||||
:config)
|
||||
|
||||
(add-hook 'latex-mode-hook
|
||||
(lambda ()
|
||||
(add-hook 'completion-at-point-functions #'dabbrev-capf 20 t)))
|
||||
|
||||
|
||||
(provide 'init-latex)
|
||||
Reference in New Issue
Block a user