refactor: clean-up some unused stuff

This commit is contained in:
CJ van den Berg 2026-01-20 14:41:38 +01:00
parent 6029c705e6
commit 0992f08a94
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 4 additions and 10 deletions

View file

@ -1548,7 +1548,7 @@ pub fn location_update(self: *Self, editor: *ed.Editor, m: tp.message) tp.result
}
}
pub fn location_update_from_editor(self: *Self) void {
fn location_update_from_editor(self: *Self) void {
const editor = self.get_active_editor() orelse return;
const file_path = editor.file_path orelse return;
const ephemeral = if (editor.buffer) |buffer| buffer.is_ephemeral() else false;