diff options
| author | jdhao <jdhao@hotmail.com> | 2023-07-20 22:51:48 +0200 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2023-07-20 22:52:55 +0200 |
| commit | 9d9c3ef32fd12ea19fccf50c973394ab6ab452d3 (patch) | |
| tree | 8652604b78af14ebebce742c4bfdaa0f5a076322 /lua/config/statusline.lua | |
| parent | 00e8c77b23d6f9bfadc1a8cb561ab2d6bae35cf5 (diff) | |
feat: update diagnostic position in statusline
Do not show it in far right, move it to the left side for easier
visibility.
Diffstat (limited to 'lua/config/statusline.lua')
| -rw-r--r-- | lua/config/statusline.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/config/statusline.lua b/lua/config/statusline.lua index 285c2a3..c53561a 100644 --- a/lua/config/statusline.lua +++ b/lua/config/statusline.lua @@ -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", |
