We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1f11e7 commit b131a5bCopy full SHA for b131a5b
after/ftplugin/tex_matchup.vim
@@ -69,7 +69,11 @@ function! s:get_match_words()
69
\ . ':\\item\>:\\end\s*{\1}'
70
71
" generic environment
72
- let l:match_words .= ',\\begin\s*{\([^}]*\)}:\\end\s*{\1}'
+ if matchup#util#matchpref('relax_env', 0)
73
+ let l:match_words .= ',\\begin\s*{\([^}]*\)}:\\end\s*{\([^}]*\)}'
74
+ else
75
+ let l:match_words .= ',\\begin\s*{\([^}]*\)}:\\end\s*{\1}'
76
+ endif
77
78
" dollar sign math
79
let l:match_words .= ',\$:\$\g{syn;!texMathZoneX}'
0 commit comments