style(lualine): reorder and change lsp icon

This commit is contained in:
Youwen Wu 2024-09-17 01:26:56 -07:00
parent ee5453c9d1
commit 4fa6fcdd51
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 3 additions and 3 deletions

View file

@ -27,8 +27,7 @@
settings = { settings = {
sections = { sections = {
lualine_a = [ "branch" ]; lualine_a = [ "branch" ];
lualine_b = [ "diff" ]; lualine_b = [
lualine_c = [
{ {
__unkeyed-1 = { __unkeyed-1 = {
__raw = '' __raw = ''
@ -39,6 +38,7 @@
}; };
} }
]; ];
lualine_c = [ "diff" ];
}; };
options.globalstatus = true; options.globalstatus = true;
}; };

View file

@ -23,7 +23,7 @@
return msg and string.format("%s %s", name, msg) or name return msg and string.format("%s %s", name, msg) or name
end end
local sign = "" -- nf-fa-gear \uf013 local sign = "󰆧" -- nf-fa-gear \uf013
local lsp_clients = vim.lsp.get_active_clients() local lsp_clients = vim.lsp.get_active_clients()
local messages_map = {} local messages_map = {}
for _, climsg in ipairs(client_messages) do for _, climsg in ipairs(client_messages) do