From 0053450271e6282473be02d80653f3780c3df76d Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 18 Oct 2020 10:05:20 +0000
Subject: [PATCH] Merge branch 'master' into HEAD
---
config.org | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/config.org b/config.org
index b68ad7a..20dfc72 100644
--- a/config.org
+++ b/config.org
@@ -112,7 +112,10 @@
(require 'ispell)
(setq-default ispell-program-name "aspell")
(setq-default ispell-local-dictionary "en_AU")
+ (add-hook 'tex-mode-hook 'flyspell-mode)
(add-hook 'latex-mode-hook 'flyspell-mode)
+ (add-hook 'TeX-mode-hook 'flyspell-mode)
+ (add-hook 'LaTeX-mode-hook 'flyspell-mode)
;; (add-hook 'latex-mode-hook 'flyspell-buffer)
(add-hook 'org-mode-hook 'flyspell-mode)
;; (add-hook 'org-mode-hook 'flyspell-buffer)
@@ -795,7 +798,8 @@
:commands lsp
:config
(setq read-process-output-max (* 1024 1024))
- (setq lsp-completion-provider :capf))
+ (setq lsp-completion-provider :capf)
+ (add-to-list 'exec-path "~/.cargo/bin"))
(use-package lsp-ui
:ensure t
@@ -1085,6 +1089,14 @@
(add-hook 'latex-mode-hook (lambda () (define-key latex-mode-map (kbd "C-c c") 'texcount)))
#+END_SRC
+**** LSP
+Allow LSP completion
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'tex-mode-hook 'lsp)
+ (add-hook 'latex-mode-hook 'lsp)
+ (add-hook 'TeX-mode-hook 'lsp)
+ (add-hook 'LaTeX-mode-hook 'lsp)
+#+END_SRC
*** PlantUML
Sets the PlantUML path for the mode to generate models.
#+BEGIN_SRC emacs-lisp
--
Gitblit v1.10.0