summaryrefslogtreecommitdiff
path: root/src/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:43:45 -0300
committerGabriel Schneider <[email protected]>2026-11-04 23:48:44 -0300
commit55492ffa53d7df11a38c6639f8fde6cdc87800c7 (patch)
treed6515b6a0dbcac62c305c999ad5865943b4c466a /src/builtins.zig
parent5a927d1a4e92750bc0d48994df2c2e552d669b01 (diff)
downloadpardes-55492ffa53d7df11a38c6639f8fde6cdc87800c7.tar.gz
pardes-55492ffa53d7df11a38c6639f8fde6cdc87800c7.zip
Find, Grep: their output traits, Output's sort of a Find's whole filenames above its walk notes, and fs.WalkNotes go, as both search on the disk engine (Stream.zig, which keeps the walk's depth as max_walk_depth) and nothing makes a .cmd = .Find or .Grep pane; the tests that filled one fill a .search or query pane (ctl.zig's is now "workspace symbols, Symbols and Diagnostics share their directory's one +Search"), and the Find sort test keeps its half on next location ("next location uses numeric columns")
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/builtins.zig')
-rw-r--r--src/builtins.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index 5d752353..3686eb88 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1701,7 +1701,6 @@ pub const Find = struct {
pub const takes_arg = true;
// A script's Find names what to find (bare, it is a key's prompt).
pub const requires_arg = true;
- pub const output: OutputTraits = .{ .name = config.search_buffer, .steps = true };
pub fn run(c: Ctx) void {
search(c, .find, e_search_miss_find);
}
@@ -1712,7 +1711,6 @@ pub const Find = struct {
pub const Grep = struct {
pub const takes_arg = true;
pub const requires_arg = true;
- pub const output: OutputTraits = .{ .name = config.search_buffer, .steps = true, .locations = true };
pub fn run(c: Ctx) void {
search(c, .grep, e_search_miss_grep);
}