Skip to content

Commit

Permalink
feat(syntax): conceal bold for \bm
Browse files Browse the repository at this point in the history
  • Loading branch information
lervag committed Apr 23, 2021
1 parent 80f4edb commit 91c011f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/vimtex/syntax/core.vim
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ function! s:match_bold_italic_math() abort " {{{1
for [l:group, l:pattern] in [
\ ['texMathCmdStyleBold', 'mathbf'],
\ ['texMathCmdStyleItal', 'mathit'],
\ ['texMathCmdStyleBold', 'bm'],
\]
execute 'syntax match' l:group '"\\' . l:pattern . '\>"'
\ 'skipwhite skipnl nextgroup=' . l:map[l:group]
Expand Down

0 comments on commit 91c011f

Please sign in to comment.