mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-24 17:58:46 +02:00
update: config lualine
This commit is contained in:
parent
756dfa19fd
commit
aaa617c7e9
2 changed files with 8 additions and 6 deletions
|
@ -72,11 +72,11 @@ vim.g.pcode_status_icon = 1
|
|||
vim.g.pcode_custom_lualine = true
|
||||
-- vim.g.pcode_component_separators = { left = " ", right = " " }
|
||||
-- vim.g.pcode_section_separators = { left = "", right = "" }
|
||||
-- vim.g.pcode_component_separators = { left = " ", right = " " }
|
||||
-- vim.g.pcode_section_separators = { left = "", right = "" }
|
||||
-- vim.g.pcode_component_separators = { left = "│", right = "│" }
|
||||
vim.g.pcode_component_separators = { left = " ", right = " " }
|
||||
vim.g.pcode_section_separators = { left = " ", right = " " }
|
||||
vim.g.pcode_section_separators = { left = "", right = "" }
|
||||
-- vim.g.pcode_component_separators = { left = "│", right = "│" }
|
||||
-- vim.g.pcode_component_separators = { left = " ", right = " " }
|
||||
-- vim.g.pcode_section_separators = { left = " ", right = " " }
|
||||
|
||||
-- 0 ( format jalan) 1 (fromat off)
|
||||
vim.g.pcode_format_on_save = 1
|
||||
|
|
|
@ -114,7 +114,7 @@ local branch = {
|
|||
icons_enabled = true,
|
||||
--icon = "",
|
||||
icon = icons.git.Branch,
|
||||
padding = { right = 1 },
|
||||
padding = 1,
|
||||
}
|
||||
|
||||
local location = {
|
||||
|
@ -221,6 +221,7 @@ local lsp_info = {
|
|||
end,
|
||||
--icon = " ",
|
||||
icon = icons.ui.Gear .. "",
|
||||
padding = 1,
|
||||
}
|
||||
local lsp_progress = {}
|
||||
local data_exists, lspprogress = pcall(require, "lsp-progress")
|
||||
|
@ -256,7 +257,8 @@ lualine.setup({
|
|||
lualine_c = { diagnostics, lsp_info, lsp_progress },
|
||||
-- lualine_c = { file_name, lsp_info },
|
||||
-- lualine_x = { "encoding", "fileformat", "filetype" },
|
||||
lualine_x = { diff, spaces, "encoding", filetype },
|
||||
-- lualine_x = { diff, spaces, "encoding", filetype },
|
||||
lualine_x = { diff, spaces, filetype },
|
||||
lualine_y = { location },
|
||||
--[[ lualine_z = { progress }, ]]
|
||||
lualine_z = { time },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue