Minor fixes in docs and check for :lang lsp.
This commit is contained in:
parent
d046d35aeb
commit
6b68dcceee
3 changed files with 5 additions and 6 deletions
|
@ -114,7 +114,7 @@ Modules that bring support for a language or group of languages to Emacs.
|
|||
+ [[file:../modules/lang/javascript/README.org][javascript]] =+lsp= - JavaScript, TypeScript, and CoffeeScript support
|
||||
+ julia - TODO
|
||||
+ kotlin =+lsp+= - TODO
|
||||
+ [[file:../modules/lang/latex/README.org][latex]] =+latexmk +cdlatex= - TODO
|
||||
+ [[file:../modules/lang/latex/README.org][latex]] =+latexmk +cdlatex= =+lsp= - TODO
|
||||
+ lean - TODO
|
||||
+ [[file:../modules/lang/ledger/README.org][ledger]] - TODO
|
||||
+ lua =+moonscript= - TODO
|
||||
|
|
|
@ -30,7 +30,8 @@ Provide a helping hand when working with LaTeX documents.
|
|||
** Module Flags
|
||||
+ =+latexmk= Use LatexMk instead of LaTeX to compile documents.
|
||||
+ =+cdlatex= Enable [[https://github.com/cdominik/cdlatex][cdlatex]] for fast math insertion.
|
||||
+ =+lsp= Start LSP automatically in `tex-mode-hook`.
|
||||
+ =+lsp= Start LSP automatically in `tex-mode-hook`. This
|
||||
requires the =:tools lsp= module.
|
||||
|
||||
** Plugins
|
||||
+ [[http://www.gnu.org/software/auctex/][auctex]]
|
||||
|
|
|
@ -181,11 +181,9 @@ If no viewers are found, `latex-preview-pane' is used.")
|
|||
(add-to-list '+latex--company-backends #'+latex-symbols-company-backend nil #'eq))
|
||||
|
||||
(after! tex-mode
|
||||
(when (featurep! +lsp)
|
||||
(when (and (featurep! +lsp) (featurep! :tools lsp))
|
||||
(add-hook 'tex-mode-local-vars-hook #'lsp!)
|
||||
(add-hook 'latex-mode-local-vars-hook #'lsp!)
|
||||
(after! yatex
|
||||
(add-hook 'yatex-mode-local-vars-hook #'lsp!))))
|
||||
(add-hook 'latex-mode-local-vars-hook #'lsp!)))
|
||||
|
||||
;; bibtex + reftex
|
||||
(load! "+ref")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue