fix(plugins): remove lualine statusline
This commit is contained in:
1 parent
26480fdba3
commit
a865a50980
2 files changed
-22
No files matched your search
@@ -26,7 +26,6 @@
|
||||
"heirline.nvim": { "branch": "master", "commit": "fae936abb5e0345b85c3a03ecf38525b0828b992" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "221ce6b2d999187044529f49da6554a92f740a96" },
|
||||
"markdown-table-mode.nvim": { "branch": "main", "commit": "0b768b58ec45afb7cb091175e837b7f5461663af" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "00b5473cca4db5b410ff4bae724e3b6e21f2687f" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" },
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
-- Let the status line show the terminal background, like the rest of the
|
||||
-- editor. Lualine's auto theme paints its middle sections a solid colour, so
|
||||
-- they are cleared on each theme it builds, which it does again on every
|
||||
-- colorscheme change. The mode and position sections keep their colours.
|
||||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
opts = function(_, opts)
|
||||
opts.options = opts.options or {}
|
||||
opts.options.theme = function()
|
||||
local theme = require("lualine.utils.loader").load_theme("auto")
|
||||
for _, mode in pairs(theme) do
|
||||
for _, section in ipairs({ "b", "c" }) do
|
||||
if mode[section] then
|
||||
mode[section].bg = "None"
|
||||
end
|
||||
end
|
||||
end
|
||||
return theme
|
||||
end
|
||||
end,
|
||||
}
|
||||
Reference in new issue
Block a user