Fix vendored nerdicons rendering; keep status bar always visible
- the vendored nerdicons.lua was the pristine upstream copy, so installs relying on the packaged plugin lost the tuned icon rendering (fractional glyph size and default hinting made icons feel soft and uneven). Apply the same tuning as the user config: whole-pixel icon size, hinting off, scale-aware chevron offset. - default config (skel + first-run template) and this repo's users keep the status bar permanently visible: shown at startup, and the status-bar:hide/toggle commands are no-ops.
This commit is contained in:
Vendored
+10
@@ -68,3 +68,13 @@ function TreeView:draw_item_background(item, active, hovered, x, y, w, h)
|
||||
renderer.draw_rect(x, y, w, h, style.treeview_active_bg or style.line_highlight)
|
||||
end
|
||||
end
|
||||
|
||||
------------------------------ Status bar -------------------------------------
|
||||
-- Keep the status bar always visible: show it at startup and turn the
|
||||
-- status-bar:hide / status-bar:toggle commands into no-ops so it cannot
|
||||
-- be dismissed (from the command palette or by any plugin).
|
||||
|
||||
core.status_view:show()
|
||||
local StatusView = require "core.statusview"
|
||||
function StatusView:toggle() self:show() end
|
||||
function StatusView:hide() self:show() end
|
||||
|
||||
Reference in New Issue
Block a user