summaryrefslogtreecommitdiffstats
path: root/autoload/vimtex/syntax/p/cases.vim
blob: 383cd8a714e0fbc7002a86f5a60494abd02ed545 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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#cases#load() abort " {{{1
  if has_key(b:vimtex_syntax, 'cases') | return | endif
  let b:vimtex_syntax.cases = 1

  call VimtexNewMathZone('E', '\(sub\)\?numcases', 0)
endfunction

" }}}1

endif