From f2a18cdce7ee8ced00ef40dfc71a9a8ce63d81f9 Mon Sep 17 00:00:00 2001 From: Takase <20792268+takase1121@users.noreply.github.com> Date: Wed, 23 Oct 2024 00:43:50 +0800 Subject: [PATCH] feat(core.emptyview): add name to emptyview (#1569) * feat(core.emptyview): add name to emptyview * fix(core.emptyview): set filename to empty --- data/core/emptyview.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data/core/emptyview.lua b/data/core/emptyview.lua index 5b126e24..d323d4f3 100644 --- a/data/core/emptyview.lua +++ b/data/core/emptyview.lua @@ -7,6 +7,14 @@ local View = require "core.view" ---@field super core.view local EmptyView = View:extend() +function EmptyView:get_name() + return "Get Started" +end + +function EmptyView:get_filename() + return "" +end + local function draw_text(x, y, color) local lines = { { fmt = "%s to run a command", cmd = "core:find-command" },