refactor: clean-up some unused stuff
This commit is contained in:
parent
6029c705e6
commit
0992f08a94
3 changed files with 4 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue