Skip to content

Commit 29c84ce

Browse files
committed
feat(syntax): support mathparpagebreakable
refer: lervag#3153
1 parent 237671f commit 29c84ce

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

autoload/vimtex/syntax/p/amsmath.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ function! vimtex#syntax#p#amsmath#load(cfg) abort " {{{1
1212
\ 'alignat',
1313
\ 'flalign',
1414
\ 'gather',
15-
\ 'mathpar',
1615
\ 'multline',
1716
\ 'xalignat',
1817
\]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
" VimTeX - LaTeX plugin for Vim
2+
"
3+
" Maintainer: Karl Yngve Lervåg
4+
" Email: karl.yngve@gmail.com
5+
"
6+
7+
function! vimtex#syntax#p#mathpartir#load(cfg) abort " {{{1
8+
call vimtex#syntax#core#new_env(#{
9+
\ name: 'mathpar',
10+
\ math: v:true
11+
\})
12+
call vimtex#syntax#core#new_env(#{
13+
\ name: 'mathparpagebreakable',
14+
\ math: v:true
15+
\})
16+
endfunction
17+
18+
" }}}1

0 commit comments

Comments
 (0)