1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

feat: update diagnostic position in statusline

Do not show it in far right, move it to the left side for easier
visibility.
This commit is contained in:
jdhao 2023-07-20 22:51:48 +02:00
parent 00e8c77b23
commit 9d9c3ef32f

View File

@ -127,6 +127,11 @@ require("lualine").setup {
spell,
color = { fg = "black", bg = "#a7c080" },
},
"location",
{
"diagnostics",
sources = { "nvim_diagnostic" },
},
},
lualine_x = {
"encoding",
@ -142,11 +147,6 @@ require("lualine").setup {
},
lualine_y = { "progress" },
lualine_z = {
"location",
{
"diagnostics",
sources = { "nvim_diagnostic" },
},
{
trailing_space,
color = "WarningMsg",