File: test-conceal.vim

package info (click to toggle)
vim-vimtex 2.16-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,660 kB
  • sloc: makefile: 367; python: 103
file content (24 lines) | stat: -rw-r--r-- 616 bytes parent folder | download
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()