view runtime/indent/testdir/python.in @ 32093:1b6ac899f079

Added tag v9.0.1377 for changeset 60f330eb0376e94e6b83bcba169f2e68bd95ee9e
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 Mar 2023 14:30:05 +0100
parents b15334beeaa4
children
line wrap: on
line source

# vim: set ft=python sw=4 et:

# START_INDENT
dict = {
'a': 1,
'b': 2,
'c': 3,
}
# END_INDENT

# START_INDENT
# INDENT_EXE let [g:python_indent.open_paren, g:python_indent.closed_paren_align_last_line] = ['shiftwidth()', v:false]
dict = {
'a': 1,
'b': 2,
'c': 3,
}
# END_INDENT

# START_INDENT
# INDENT_EXE let g:python_indent.open_paren = 'shiftwidth() * 2'
# INDENT_EXE syntax match pythonFoldMarkers /{{{\d*/ contained containedin=pythonComment
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx {{{1

if True:
pass
# END_INDENT

# START_INDENT
open_paren_not_at_EOL(100,
(200,
300),
400)

open_paren_at_EOL(
100, 200, 300, 400)

open_paren_not_at_EOL(100,
(200,
300),
400)

open_paren_at_EOL(
100, 200, 300, 400)

open_paren_not_at_EOL(100,
(200,
300),
400)

open_paren_at_EOL(
100, 200, 300, 400)

open_paren_not_at_EOL(100,
(200,
300),
400)

open_paren_at_EOL(
100, 200, 300, 400)

open_paren_not_at_EOL(100,
(200,
300),
400)

open_paren_at_EOL(
100, 200, 300, 400)

open_paren_not_at_EOL(100,
(200,
300),
400)

open_paren_at_EOL(
100, 200, 300, 400)

open_paren_not_at_EOL(100,
(200,
300),
400)

open_paren_at_EOL(
100, 200, 300, 400)

open_paren_not_at_EOL(100,
(200,
300),
400)

open_paren_at_EOL(
100, 200, 300, 400)

# END_INDENT