1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
source common.vim
let g:vimtex_syntax_conceal = {'sections': 1}
let g:vimtex_syntax_custom_cmds = [
\ {'name': 'keyw', 'mathmode': 0, 'argstyle': 'boldital' , 'conceal': 1},
\]
let g:vimtex_syntax_custom_cmds_with_concealed_delims = [
\ {'name': 'ket',
\ 'mathmode': 1,
\ 'cchar_open': '|',
\ 'cchar_close': '>'},
\ {'name': 'binom',
\ 'mathmode': 1,
\ 'nargs': 2,
\ 'cchar_open': '(',
\ 'cchar_mid': '|',
\ 'cchar_close': ')'},
\]
EditConcealed test-conceal.tex
if empty($INMAKE) | finish | endif
call vimtex#test#finished()
|