]> git.madduck.net Git - etc/vim.git/blob - tests/data/cases/preview_long_dict_values.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Prepare release 23.10.0 (#3951)
[etc/vim.git] / tests / data / cases / preview_long_dict_values.py
1 # flags: --preview
2 my_dict = {
3     "something_something":
4         r"Lorem ipsum dolor sit amet, an sed convenire eloquentiam \t"
5         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
6         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t",
7 }
8
9 my_dict = {
10     "a key in my dict": a_very_long_variable * and_a_very_long_function_call() / 100000.0
11 }
12
13 my_dict = {
14     "a key in my dict": a_very_long_variable * and_a_very_long_function_call() * and_another_long_func() / 100000.0
15 }
16
17 my_dict = {
18     "a key in my dict": MyClass.some_attribute.first_call().second_call().third_call(some_args="some value")
19 }
20
21 {
22     'xxxxxx':
23         xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx(
24             xxxxxxxxxxxxxx={
25                 'x':
26                     xxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
27                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=(
28                             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
29                             .xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
30                                 xxxxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
31                                 .xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
32                                     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx={
33                                         'x': x.xx,
34                                         'x': x.x,
35                                     }))))
36             }),
37 }
38
39
40 # output
41
42
43 my_dict = {
44     "something_something": (
45         r"Lorem ipsum dolor sit amet, an sed convenire eloquentiam \t"
46         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
47         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
48     ),
49 }
50
51 my_dict = {
52     "a key in my dict": (
53         a_very_long_variable * and_a_very_long_function_call() / 100000.0
54     )
55 }
56
57 my_dict = {
58     "a key in my dict": (
59         a_very_long_variable
60         * and_a_very_long_function_call()
61         * and_another_long_func()
62         / 100000.0
63     )
64 }
65
66 my_dict = {
67     "a key in my dict": (
68         MyClass.some_attribute.first_call()
69         .second_call()
70         .third_call(some_args="some value")
71     )
72 }
73
74 {
75     "xxxxxx": xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx(
76         xxxxxxxxxxxxxx={
77             "x": xxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
78                 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=(
79                     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
80                         xxxxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
81                             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx={
82                                 "x": x.xx,
83                                 "x": x.x,
84                             }
85                         )
86                     )
87                 )
88             )
89         }
90     ),
91 }