diff options
| author | David Czihak <git@dcz.at> | 2026-05-11 17:45:21 +0200 |
|---|---|---|
| committer | David Czihak <git@dcz.at> | 2026-05-11 17:45:21 +0200 |
| commit | bf0eacb506bc8125b0ab8d438913e54feba63391 (patch) | |
| tree | 31b941c40ce3409022c68d0b413aa64dff905658 /Zig.novaextension/extension.json | |
| parent | 7d5fbaa5cae6b08f24c04fe58fbd049be49d8934 (diff) | |
Fix: Cache compiler errors
Cache compiler errors instead of passing them directly to Nova. This removes the possibility for outdated old errors not going away.
Diffstat (limited to 'Zig.novaextension/extension.json')
| -rw-r--r-- | Zig.novaextension/extension.json | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Zig.novaextension/extension.json b/Zig.novaextension/extension.json index f6d4855..e78f59f 100644 --- a/Zig.novaextension/extension.json +++ b/Zig.novaextension/extension.json @@ -642,12 +642,28 @@ "zig.compiler": { "pattern": [ { - "regexp": "^(.+?):(\\d+):(\\d+):\\s*(error|warning):\\s*(.+)$", + "regexp": "^(.+?):(\\d+):(\\d+):\\s*error:\\s*(.+)$", "file": 1, "line": 2, "column": 3, - "severity": 4, - "message": 5 + "severity": "error", + "message": 4 + }, + { + "regexp": "^(.+?):(\\d+):(\\d+):\\s*warning:\\s*(.+)$", + "file": 1, + "line": 2, + "column": 3, + "severity": "warning", + "message": 4 + }, + { + "regexp": "^(.+?):(\\d+):(\\d+):\\s*note:\\s*(.+)$", + "file": 1, + "line": 2, + "column": 3, + "severity": "hint", + "message": 4 } ] } |
