reorder lualine
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
||||
"activate.nvim": { "branch": "main", "commit": "809b1df4a885c6f67539c5aa80fd8c9920c04da4" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "bf3c8bb8c02ed3d9644cc5bbc48e2bdc39349cd7" },
|
||||
"auto-session": { "branch": "main", "commit": "3cd531ce4d46fb156268ddedf5f3e6822ef26af7" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "5c528bee3dd797d5bd6bae5f229411939b25b203" },
|
||||
@@ -17,7 +18,7 @@
|
||||
"lazy.nvim": { "branch": "main", "commit": "cf8ecc2c5e4332760431a33534240b0cbc6680ab" },
|
||||
"lazygit.nvim": { "branch": "main", "commit": "56760339a81cd1540d5a72fd9d93010a2677b55d" },
|
||||
"lspkind.nvim": { "branch": "master", "commit": "a700f1436d4a938b1a1a93c9962dc796afbaef4d" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "b39f1f02f1799da88d552c522f4cb0c786b14440" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "640260d7c2d98779cab89b1e7088ab14ea354a02" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "4d0e5b49363cac187326998b96aa6a2884e0e89b" },
|
||||
"mason-tool-installer.nvim": { "branch": "main", "commit": "c5e07b8ff54187716334d585db34282e46fa2932" },
|
||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||
|
||||
@@ -31,8 +31,18 @@ return {
|
||||
sections = {
|
||||
lualine_a = { "mode" },
|
||||
lualine_b = {
|
||||
"filename",
|
||||
},
|
||||
lualine_c = {
|
||||
"branch",
|
||||
"diff",
|
||||
{
|
||||
function()
|
||||
return require("auto-session.lib").current_session_name(true)
|
||||
end,
|
||||
},
|
||||
},
|
||||
lualine_x = {
|
||||
{
|
||||
"diagnostics",
|
||||
sources = { "nvim_lsp", "nvim_workspace_diagnostic", "nvim_diagnostic" },
|
||||
@@ -41,33 +51,35 @@ return {
|
||||
colored = true,
|
||||
always_visible = false,
|
||||
},
|
||||
},
|
||||
lualine_c = {
|
||||
{
|
||||
function()
|
||||
return require("auto-session.lib").current_session_name(true)
|
||||
end,
|
||||
},
|
||||
{ "filename" },
|
||||
},
|
||||
lualine_x = {
|
||||
{
|
||||
lazy_status.updates,
|
||||
cond = lazy_status.has_updates,
|
||||
color = { fg = "#ebcb8b" },
|
||||
},
|
||||
{ "encoding", "fileformat", "filetype" },
|
||||
"encoding",
|
||||
"fileformat",
|
||||
"filetype",
|
||||
"hostname",
|
||||
},
|
||||
lualine_y = { "searchcount", "progress" },
|
||||
lualine_z = { "location" },
|
||||
lualine_z = { "selectioncount", "location" },
|
||||
},
|
||||
inactive_sections = {
|
||||
lualine_a = {},
|
||||
lualine_b = {},
|
||||
lualine_c = { "filename" },
|
||||
lualine_x = { "location" },
|
||||
lualine_x = {
|
||||
{
|
||||
"diagnostics",
|
||||
sources = { "nvim_lsp", "nvim_workspace_diagnostic", "nvim_diagnostic" },
|
||||
sections = { "error", "warn", "info", "hint" },
|
||||
--symbols = { error = " ", warn = " ", info = " ", hint = " " },
|
||||
colored = false,
|
||||
always_visible = false,
|
||||
},
|
||||
},
|
||||
lualine_y = {},
|
||||
lualine_z = {},
|
||||
lualine_z = { "location" },
|
||||
},
|
||||
tabline = {},
|
||||
winbar = {},
|
||||
|
||||
Reference in New Issue
Block a user