mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
lang/latex: replace viewer flags with variable
The +zathura, +skim, +okular and +pdf-tools module flags have been removed in favor of +latex-viewers, which takes a list of symbols. Its order determines the priority. The first viewer found on your system is used. If none of these viewers are found, it will fall back to latex-preview-pane.
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
enabling unicode symbols in math regions. This requires the unicode-math latex
|
||||
package to be installed.")
|
||||
|
||||
(defconst +latex-viewers `(skim zathura okular pdf-tools)
|
||||
"A list of enabled latex viewers to use, in this order. If they don't exist,
|
||||
they will be ignored. Recognized viewers are skim, zathura, okular and
|
||||
pdf-tools.
|
||||
|
||||
If no viewers are found, `latex-preview-pane' is used.")
|
||||
|
||||
;;
|
||||
(defvar +latex--company-backends nil)
|
||||
|
||||
|
Reference in New Issue
Block a user