From 7ce29010781406540d7cc8d84383fc9dd402ec8a Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Sun, 16 Jul 2023 13:12:18 +0200 Subject: [PATCH] vim:ftplug:tex: Escape underscores in macro-type --- .config/vim/ftplugin/tex.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/vim/ftplugin/tex.vim b/.config/vim/ftplugin/tex.vim index a2c41e6..0312134 100644 --- a/.config/vim/ftplugin/tex.vim +++ b/.config/vim/ftplugin/tex.vim @@ -17,3 +17,6 @@ let g:vimtex_compiler_latexmk = { " NOTE: Check zathurarc(5) if synctex is activated let g:vimtex_context_pdf_viewer='zathura' let g:vimtex_view_method='zathura' + +" Escape underscores in macro-type +let g:macro_type_mappings[''] = '\_'