about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.el6
-rw-r--r--vim/.vim/after/ftplugin/tex.vim7
2 files changed, 8 insertions, 5 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index c7bc43d..c654dc2 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -28,7 +28,7 @@
    ["#242424" "#e5786d" "#95e454" "#cae682"
     "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"])
  '(column-number-mode t)
- '(custom-enabled-themes (quote (whiteboard)))
+ '(custom-enabled-themes (quote (tango)))
  '(erc-nick "cnx")
  '(package-selected-packages
    (quote
@@ -53,7 +53,6 @@
 (savehist-mode 1)
 (setq-default inhibit-splash-screen t)
 (find-file-noselect "/usr/share/dict/words")
-(when (fboundp 'electric-indent-mode) (electric-indent-mode -1))
 (setq-default fill-column 79)
 (add-hook 'prog-mode-hook 'ruler-mode)
 (setq-default indent-tabs-mode nil)
@@ -68,6 +67,9 @@
 (add-hook 'python-mode-hook (lambda () (setq comment-fill-column 72)))
 (add-hook 'lua-mode-hook (lambda () (setq lua-indent-level 4)))
 (add-hook 'LaTeX-mode-hook 'prettify-symbols-mode)
+(add-hook 'LaTeX-mode-hook
+          (lambda () (when (fboundp 'electric-indent-mode)
+                       (electric-indent-mode -1))))
 (add-hook 'pdf-tools-enabled-hook 'auto-revert-mode)
 
 (when window-system (set-frame-size (selected-frame) 80 25))
diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim
index 8d69096..7ddf8a2 100644
--- a/vim/.vim/after/ftplugin/tex.vim
+++ b/vim/.vim/after/ftplugin/tex.vim
@@ -1,6 +1,7 @@
-setlocal conceallevel=2
-setlocal listchars=eol:$ ambiwidth=double
-let g:tex_conceal='abdmg'
+"setlocal conceallevel=2
+"setlocal listchars=eol:$ ambiwidth=double
+"let g:tex_conceal='abdmg'
 let g:tex_flavor='latex'
+let g:vimtex_compiler_latexrun_engines='lualatex'
 let g:vimtex_indent_enabled = 0
 let g:vimtex_quickfix_mode=0