mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
22 lines
442 B
VimL
22 lines
442 B
VimL
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
|
|
|
|
" vimtex - LaTeX plugin for Vim
|
|
"
|
|
" Maintainer: Karl Yngve Lervåg
|
|
" Email: karl.yngve@gmail.com
|
|
"
|
|
|
|
scriptencoding utf-8
|
|
|
|
function! vimtex#syntax#p#mathtools#load() abort " {{{1
|
|
if has_key(b:vimtex_syntax, 'mathtools') | return | endif
|
|
let b:vimtex_syntax.mathtools = 1
|
|
|
|
" Load amsmath
|
|
call vimtex#syntax#p#amsmath#load()
|
|
endfunction
|
|
|
|
" }}}1
|
|
|
|
endif
|