comparison runtime/indent/testdir/vim.in @ 14970:19b757c6c6a7 v8.1.0496

patch 8.1.0496: no tests for indent files commit https://github.com/vim/vim/commit/c0fe4978f2311be9a0221d4c2369251c719b399a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 25 16:53:19 2018 +0200 patch 8.1.0496: no tests for indent files Problem: No tests for indent files. Solution: Add a mechanism for running indent file tests. Add a first test for Vim indenting.
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Oct 2018 17:00:07 +0200
parents
children 1cd44535be32
comparison
equal deleted inserted replaced
14969:26730430401e 14970:19b757c6c6a7
1 " vim: set ft=vim sw=4 :
2
3 " START_INDENT
4
5 func Some()
6 let x = 1
7 endfunc
8
9 let cmd =
10 \ 'some '
11 \ 'string'
12
13 " END_INDENT
14
15 " START_INDENT
16 " INDENT_EXE let g:vim_indent_cont = 6
17
18 let cmd =
19 \ 'some '
20 \ 'string'
21
22 " END_INDENT
23
24 " START_INDENT
25 " INDENT_EXE unlet g:vim_indent_cont
26 " INDENT_AT this-line
27 func Some()
28 let f = x " this-line
29 endfunc
30 " END_INDENT
31
32 " START_INDENT
33 " INDENT_NEXT next-line
34 func Some()
35 " next-line
36 let f = x
37 endfunc
38 " END_INDENT
39
40 " START_INDENT
41 " INDENT_PREV prev-line
42 func Some()
43 let f = x
44 " prev-line
45 endfunc
46 " END_INDENT