diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-06-08 09:32:17 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-06-08 09:32:17 +0000 |
| commit | 96d5ebf72ac395c57489b567c47d35d4807f1994 (patch) | |
| tree | bf6431a5ae276cd2e59b33c6ec56ebd9a4735195 /src/config.zig | |
| parent | error handling (diff) | |
| download | glsl-view-96d5ebf72ac395c57489b567c47d35d4807f1994.tar.gz glsl-view-96d5ebf72ac395c57489b567c47d35d4807f1994.zip | |
zig-fmt for low-column-screens
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config.zig b/src/config.zig index 5bc449d..9655a85 100644 --- a/src/config.zig +++ b/src/config.zig @@ -392,9 +392,13 @@ fn skipAny(parser: *c.yaml_parser_t) !void { break; }, - c.yaml_event_type_t.YAML_SEQUENCE_START_EVENT, c.yaml_event_type_t.YAML_MAPPING_START_EVENT => depth += 1, + c.yaml_event_type_t.YAML_SEQUENCE_START_EVENT, + c.yaml_event_type_t.YAML_MAPPING_START_EVENT, + => depth += 1, - c.yaml_event_type_t.YAML_SEQUENCE_END_EVENT, c.yaml_event_type_t.YAML_MAPPING_END_EVENT => { + c.yaml_event_type_t.YAML_SEQUENCE_END_EVENT, + c.yaml_event_type_t.YAML_MAPPING_END_EVENT, + => { depth -= 1; if (depth == 0) |
