mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
refactor(lualine): added extra space for dap icon
This commit is contained in:
parent
0cd12873c1
commit
7293427662
1 changed files with 4 additions and 3 deletions
|
|
@ -124,20 +124,21 @@ return {
|
||||||
lualine_x = {
|
lualine_x = {
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
{
|
{
|
||||||
function() return " " .. require("dap").status() end,
|
function() return " " .. require("dap").status() end,
|
||||||
cond = function () return package.loaded["dap"] and require("dap").status() ~= "" end,
|
cond = function () return package.loaded["dap"] and require("dap").status() ~= "" end,
|
||||||
color = fg("Debug"),
|
color = fg("Debug"),
|
||||||
},
|
},
|
||||||
|
-- stylua: ignore
|
||||||
{
|
{
|
||||||
function() return require("noice").api.status.command.get() end,
|
function() return require("noice").api.status.command.get() end,
|
||||||
cond = function() return package.loaded["noice"] and require("noice").api.status.command.has() end,
|
cond = function() return package.loaded["noice"] and require("noice").api.status.command.has() end,
|
||||||
color = fg("Statement")
|
color = fg("Statement"),
|
||||||
},
|
},
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
{
|
{
|
||||||
function() return require("noice").api.status.mode.get() end,
|
function() return require("noice").api.status.mode.get() end,
|
||||||
cond = function() return package.loaded["noice"] and require("noice").api.status.mode.has() end,
|
cond = function() return package.loaded["noice"] and require("noice").api.status.mode.has() end,
|
||||||
color = fg("Constant") ,
|
color = fg("Constant"),
|
||||||
},
|
},
|
||||||
{ require("lazy.status").updates, cond = require("lazy.status").has_updates, color = fg("Special") },
|
{ require("lazy.status").updates, cond = require("lazy.status").has_updates, color = fg("Special") },
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue