Files
neovim-config/lua/plugins/statusline/none.lua
T
rootiest 273580f533 ♻️ refactor(full-scope)!: major revision refactoring
Code layout has been changed and improoved. Annotations are added for documentation. Automated through utility functions and data tables

BREAKING CHANGE: Tested from clean. Now properly uses LuaRocks to install dependencies.
2024-09-04 16:07:12 -04:00

21 lines
1.1 KiB
Lua

---@module "plugins.statusline.none"
--- This module sets up the no-statusline optional mode for the Neovim configuration.
--- This option disables the statusline entirely for a more minimalistic appearance.
---
--- Activate this module by setting the 'vim.g.statusline' variable to 'none'
-- ╭─────────────────────────────────────────────────────────╮
-- │ No Statusline │
-- ╰─────────────────────────────────────────────────────────╯
if vim.g.statusline ~= "none" then
return {}
end
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ NO-STATUSLINE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-- Set up the no-statusline
vim.o.laststatus = 0
-- No lazy.nvim plugin necessary
return {}