File: test-close-delim.vim

package info (click to toggle)
vim-vimtex 2.16-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,660 kB
  • sloc: makefile: 367; python: 103
file content (34 lines) | stat: -rw-r--r-- 847 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
25
26
27
28
29
30
31
32
33
34
set nocompatible
set runtimepath^=../..
filetype plugin indent on

set shiftwidth=2


" ]]   /  Close current delimiter or environment
call vimtex#test#keys('A]]',
      \ '$\bigl( \left. a \right) ',
      \ '$\bigl( \left. a \right) \bigr)')
call vimtex#test#keys('Go]]', [
      \ '\documentclass{article}',
      \ '\usepackage{stackengine}',
      \ '\begin{document}',
      \ '\begin{equation}',
      \ '  \begin{array}{c}',
      \ '    a = \stackunder{p6mm}{',
      \ '      \left\{ b \right.',
      \ '    }',
      \], [
      \ '\documentclass{article}',
      \ '\usepackage{stackengine}',
      \ '\begin{document}',
      \ '\begin{equation}',
      \ '  \begin{array}{c}',
      \ '    a = \stackunder{p6mm}{',
      \ '      \left\{ b \right.',
      \ '    }',
      \ '  \end{array}',
      \])


call vimtex#test#finished()