fix: disambiguate find and find_query commands
This commit is contained in:
parent
ea31e414ee
commit
2d9e66b534
2 changed files with 2 additions and 2 deletions
|
@ -3007,7 +3007,7 @@ pub const Editor = struct {
|
|||
try self.close_dirty();
|
||||
}
|
||||
|
||||
pub fn find(self: *Self, ctx: Context) Result {
|
||||
pub fn find_query(self: *Self, ctx: Context) Result {
|
||||
var query: []const u8 = undefined;
|
||||
if (ctx.args.match(.{tp.extract(&query)}) catch false) {
|
||||
try self.find_in_buffer(query);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue