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

Compare commits

...

2 Commits

Author SHA1 Message Date
jdhao
bb27d93433 fix: move location indication to the right of statusline 2023-07-20 23:00:06 +02:00
jdhao
9d9c3ef32f feat: update diagnostic position in statusline
Do not show it in far right, move it to the left side for easier
visibility.
2023-07-20 22:52:55 +02:00

View File

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