From 9539bea297a82fcf83ce40894b73e5280b4345fc Mon Sep 17 00:00:00 2001 From: eeva Date: Wed, 30 Mar 2016 22:58:39 +0200 Subject: [PATCH] Adding .tikz to be parsed as .tex files --- emacs/.spacemacs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs/.spacemacs b/emacs/.spacemacs index 475f96c..3d253e3 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -255,6 +255,12 @@ before packages are loaded. If you are unsure, you should try in setting them in monokai monochrome )) + + ;; Use auctex with .tikz files too + (setq auto-mode-alist + (append + '(("\\.tikz\\'" . latex-mode)) + auto-mode-alist)) ) (defun dotspacemacs/user-config () @@ -281,6 +287,7 @@ you should place you code here." ;; Tex viewers (setq TeX-view-program-list '(("Zathura" "zathura-sync %n:1:%b %o"))) (setq TeX-view-program-selection '((output-pdf "Zathura"))) + ) ;; Do not write anything past this comment. This is where Emacs will