|
6 | 6 | ], |
7 | 7 | "command": "docblockr_python", |
8 | 8 | "context": [ |
9 | | - { "key": "selector", "operator": "equal", "operand": "string.quoted.double.block", "match_all": false }, |
10 | | - { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
11 | | - { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
12 | | - { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
13 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 9 | + { "key": "selector", "operator": "equal", "operand": "string.quoted.double.block", "match_all": false }, |
| 10 | + { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
| 11 | + { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
| 12 | + { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
| 13 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
14 | 14 | ] |
15 | 15 | }, |
16 | 16 | { |
|
19 | 19 | ], |
20 | 20 | "command": "docblockr_python", |
21 | 21 | "context": [ |
22 | | - { "key": "selector", "operator": "equal", "operand": "string.quoted.double.block", "match_all": false }, |
23 | | - { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
24 | | - { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
25 | | - { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
26 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 22 | + { "key": "selector", "operator": "equal", "operand": "string.quoted.double.block", "match_all": false }, |
| 23 | + { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
| 24 | + { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
| 25 | + { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
| 26 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
27 | 27 | ] |
28 | 28 | }, |
29 | 29 | { |
|
32 | 32 | ], |
33 | 33 | "command": "docblockr_python", |
34 | 34 | "context": [ |
35 | | - { "key": "selector", "operator": "equal", "operand": "string.quoted.double.block", "match_all": false }, |
36 | | - { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
37 | | - { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
38 | | - { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
39 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 35 | + { "key": "selector", "operator": "equal", "operand": "string.quoted.double.block", "match_all": false }, |
| 36 | + { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
| 37 | + { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
| 38 | + { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
| 39 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
40 | 40 | ] |
41 | 41 | }, |
42 | 42 |
|
|
47 | 47 | ], |
48 | 48 | "command": "docblockr_python", |
49 | 49 | "context": [ |
50 | | - { "key": "selector", "operator": "equal", "operand": "comment.block.python", "match_all": false }, |
51 | | - { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
52 | | - { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
53 | | - { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
54 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 50 | + { "key": "selector", "operator": "equal", "operand": "comment.block.python", "match_all": false }, |
| 51 | + { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
| 52 | + { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
| 53 | + { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
| 54 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
55 | 55 | ] |
56 | 56 | }, |
57 | 57 | { |
|
60 | 60 | ], |
61 | 61 | "command": "docblockr_python", |
62 | 62 | "context": [ |
63 | | - { "key": "selector", "operator": "equal", "operand": "comment.block.python", "match_all": false }, |
64 | | - { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
65 | | - { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
66 | | - { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
67 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 63 | + { "key": "selector", "operator": "equal", "operand": "comment.block.python", "match_all": false }, |
| 64 | + { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
| 65 | + { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
| 66 | + { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
| 67 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
68 | 68 | ] |
69 | 69 | }, |
70 | 70 | { |
|
73 | 73 | ], |
74 | 74 | "command": "docblockr_python", |
75 | 75 | "context": [ |
76 | | - { "key": "selector", "operator": "equal", "operand": "comment.block.python", "match_all": false }, |
77 | | - { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
78 | | - { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
79 | | - { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
80 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 76 | + { "key": "selector", "operator": "equal", "operand": "comment.block.python", "match_all": false }, |
| 77 | + { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
| 78 | + { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
| 79 | + { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
| 80 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
81 | 81 | ] |
82 | 82 | }, |
83 | 83 |
|
|
92 | 92 | { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
93 | 93 | { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
94 | 94 | { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
95 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 95 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
96 | 96 | ] |
97 | 97 | }, |
98 | 98 | { |
|
105 | 105 | { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
106 | 106 | { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
107 | 107 | { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
108 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 108 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
109 | 109 | ] |
110 | 110 | }, |
111 | 111 | { |
|
118 | 118 | { "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, |
119 | 119 | { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, |
120 | 120 | { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, |
121 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\")\\s*$", "match_all": true } |
| 121 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\"\"\"|''')\\s*$", "match_all": true } |
122 | 122 | ] |
123 | 123 | } |
124 | 124 | ] |
0 commit comments