From 0e7bb1a498fcd7046b59b1b02960dd6751282ed7 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 19 Dec 2023 16:30:28 +1100 Subject: [PATCH] Install VimTeX for LaTeX support :) --- dot-config/vim/plugin/vimtex.vim | 2 ++ dot-config/vim/plugins.vim | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 dot-config/vim/plugin/vimtex.vim diff --git a/dot-config/vim/plugin/vimtex.vim b/dot-config/vim/plugin/vimtex.vim new file mode 100644 index 0000000..fe346e6 --- /dev/null +++ b/dot-config/vim/plugin/vimtex.vim @@ -0,0 +1,2 @@ +vim9script +g:vimtex_view_method = 'skim' diff --git a/dot-config/vim/plugins.vim b/dot-config/vim/plugins.vim index c4ebc61..a72d360 100644 --- a/dot-config/vim/plugins.vim +++ b/dot-config/vim/plugins.vim @@ -168,6 +168,10 @@ minpac#add('NoahTheDuke/vim-just') # kovidgoyal/kitty is my daily driver terminal emulator. Yay! minpac#add('fladson/vim-kitty') +# Really good support for LaTeX, including enhanced syntax highlighting but +# also auto-compilation and SyncTeX search support in both directions. +minpac#add('lervag/vimtex') + # Syntax highlighting for .neon files, like phpstan.neon. Nette is actually a # full-blown PHP web framework and this plugin provides other Nette tooling # too, but I don't use Nette so it's really just providing syntax for the