diff --git a/data/core/commands/core.lua b/data/core/commands/core.lua index ac781c9..3b3b15e 100644 --- a/data/core/commands/core.lua +++ b/data/core/commands/core.lua @@ -2,8 +2,6 @@ local core = require "core" local common = require "core.common" local command = require "core.command" local keymap = require "core.keymap" -local Doc = require "core.doc" -local DocView = require "core.docview" local LogView = require "core.logview" diff --git a/data/core/statusview.lua b/data/core/statusview.lua index 1cf71be..498b3a0 100644 --- a/data/core/statusview.lua +++ b/data/core/statusview.lua @@ -110,11 +110,6 @@ end function StatusView:draw() self:draw_background(style.background2) - local th = style.font:get_height() - local x, y = self:get_content_offset() - x = x + style.padding.x - y = y + (self.size.y - th) / 2 - if self.message then self:draw_items(self.message, false, self.size.y) end