summaryrefslogtreecommitdiff
path: root/core/Query.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 19:02:34 -0300
committerGabriel Schneider <[email protected]>2026-11-20 19:02:34 -0300
commit486f347adeed5bac6aaabe8be34e6a69bf323a62 (patch)
treeda8b333b4033889aa2fd16ab7f5a4bef35b0401d /core/Query.zig
parent4053e62a2aabd794db9075d93ebe57eec3f432a6 (diff)
parent06f6c72583faf8256190a0ae195a8085e7cd7f32 (diff)
downloadpardes-486f347adeed5bac6aaabe8be34e6a69bf323a62.tar.gz
pardes-486f347adeed5bac6aaabe8be34e6a69bf323a62.zip
integration: six small faults on a hang-up as a close: pardes-faults-6 (a hang-up with no daemon kills the language servers' children; the daemon's reader hands a note under a lock; a retried Edit write answered from the listener's hold; the cursor hidden when a frame has no caret; syntax-test deleted and the grammar tiers' tests skipping; the tty harness's Esc after what came before is read) and pardes-merge41, merged without a textual conflict; tui core-test 874/1031 (157 skipped), shell-test 1073/1076, term-test 17/17, both soaks diverged 0, unequal 0, unlisted 0, the window builds; the coordinator's gate in the ledger (reorg/merge42)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Query.zig')
-rw-r--r--core/Query.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Query.zig b/core/Query.zig
index ebb44155..663095b0 100644
--- a/core/Query.zig
+++ b/core/Query.zig
@@ -2390,6 +2390,7 @@ test "Grep: lines of the files under the owner's directory, under their file; Al
}
test "* seeds line 1 and keeps the keyboard; SPC b b picks a pane, SPC s s a declaration" {
+ if (comptime !syntax.minimal_grammars) return error.SkipZigTest;
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 120, .rows = 48 });
defer p.deinit();
const pane = try p.setTestFile("const alpha = 1;\nfn beta() void {\n _ = alpha;\n}\nfn gamma() void {}\n");
@@ -2624,6 +2625,7 @@ test "a query row's place is its text: the match tinted after it, B3 on it opens
}
test "the +Preview: the query's hits in its file are its places, the row's one current and selected, coloured as the file is" {
+ if (comptime !syntax.minimal_grammars) return error.SkipZigTest;
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
const text = "const needle = 1;\nconst hay = 2;\nfn f() void {\n _ = needle;\n}\npub const needle_too = needle;\n";