Remove diagnostics from lualine
This commit is contained in:
@@ -6,15 +6,6 @@ local branch = {
|
|||||||
icon = "",
|
icon = "",
|
||||||
}
|
}
|
||||||
|
|
||||||
local diagnostics = {
|
|
||||||
"diagnostics",
|
|
||||||
sections = { "error", "warn" },
|
|
||||||
symbols = { error = " ", warn = " " },
|
|
||||||
colored = false,
|
|
||||||
update_in_insert = false,
|
|
||||||
always_visible = true,
|
|
||||||
}
|
|
||||||
|
|
||||||
local mode = {
|
local mode = {
|
||||||
"mode",
|
"mode",
|
||||||
}
|
}
|
||||||
@@ -36,8 +27,8 @@ lualine.setup({
|
|||||||
section_separators = { left = "", right = "" },
|
section_separators = { left = "", right = "" },
|
||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = { branch, diagnostics },
|
lualine_a = { mode },
|
||||||
lualine_b = { mode },
|
lualine_b = { branch },
|
||||||
lualine_c = {},
|
lualine_c = {},
|
||||||
lualine_x = { location },
|
lualine_x = { location },
|
||||||
lualine_y = { "encoding", filetype },
|
lualine_y = { "encoding", filetype },
|
||||||
|
|||||||
Reference in New Issue
Block a user