blob: f5ebbc2285bee4571bf8f9ac0d9408fe22f97f5c [file] [log] [blame]
Bram Moolenaare8008642022-08-19 17:15:35 +01001# vim: set ft=python sw=4 et:
Bram Moolenaar48c3f4e2022-08-08 15:42:38 +01002
Bram Moolenaare8008642022-08-19 17:15:35 +01003# START_INDENT
Bram Moolenaarfd999452022-08-24 18:30:14 +01004dict = {
5 'a': 1,
6 'b': 2,
7 'c': 3,
8 }
9# END_INDENT
10
11# START_INDENT
12# INDENT_EXE let [g:python_indent.open_paren, g:python_indent.closed_paren_align_last_line] = ['shiftwidth()', v:false]
13dict = {
14 'a': 1,
15 'b': 2,
16 'c': 3,
17}
18# END_INDENT
19
20# START_INDENT
21# INDENT_EXE let g:python_indent.open_paren = 'shiftwidth() * 2'
Bram Moolenaare8008642022-08-19 17:15:35 +010022# INDENT_EXE syntax match pythonFoldMarkers /{{{\d*/ contained containedin=pythonComment
23# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx {{{1
24
25if True:
26 pass
27# END_INDENT
28
29# START_INDENT
Bram Moolenaar48c3f4e2022-08-08 15:42:38 +010030open_paren_not_at_EOL(100,
31 (200,
32 300),
33 400)
34
35open_paren_at_EOL(
36 100, 200, 300, 400)
37
38open_paren_not_at_EOL(100,
39 (200,
40 300),
41 400)
42
43open_paren_at_EOL(
44 100, 200, 300, 400)
45
46open_paren_not_at_EOL(100,
47 (200,
48 300),
49 400)
50
51open_paren_at_EOL(
52 100, 200, 300, 400)
53
54open_paren_not_at_EOL(100,
55 (200,
56 300),
57 400)
58
59open_paren_at_EOL(
60 100, 200, 300, 400)
61
62open_paren_not_at_EOL(100,
63 (200,
64 300),
65 400)
66
67open_paren_at_EOL(
68 100, 200, 300, 400)
69
70open_paren_not_at_EOL(100,
71 (200,
72 300),
73 400)
74
75open_paren_at_EOL(
76 100, 200, 300, 400)
77
78open_paren_not_at_EOL(100,
79 (200,
80 300),
81 400)
82
83open_paren_at_EOL(
84 100, 200, 300, 400)
85
86open_paren_not_at_EOL(100,
87 (200,
88 300),
89 400)
90
91open_paren_at_EOL(
92 100, 200, 300, 400)
93
Bram Moolenaare8008642022-08-19 17:15:35 +010094# END_INDENT