mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Fix matching of \\[1ex] (fixes #84)
This commit is contained in:
@@ -52,7 +52,7 @@ function! s:get_match_words()
|
||||
let l:match_words .= ',{:}'
|
||||
|
||||
" latex equation markers
|
||||
let l:match_words .= ',\\(:\\),\\\[:\\]'
|
||||
let l:match_words .= ',\\(:\\),'.s:not_bslash.'\\\[:\\]'
|
||||
|
||||
" simple blocks
|
||||
let l:match_words .= ',\\if\%(\w\|@\)*\>:\\else\>:\\fi\>'
|
||||
|
||||
7
test/issues/84/ex.tex
Normal file
7
test/issues/84/ex.tex
Normal file
@@ -0,0 +1,7 @@
|
||||
\[
|
||||
\begin{gathered}
|
||||
First equation \\
|
||||
Second equation \\[1ex]
|
||||
Third and last equation
|
||||
\end{gathered}
|
||||
\]
|
||||
Reference in New Issue
Block a user