mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-25 02:08:48 +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_custom_lualine = true
|
||||||
-- 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_section_separators = { left = "", right = "" }
|
|
||||||
-- vim.g.pcode_component_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)
|
-- 0 ( format jalan) 1 (fromat off)
|
||||||
vim.g.pcode_format_on_save = 1
|
vim.g.pcode_format_on_save = 1
|
||||||
|
|
|
@ -114,7 +114,7 @@ local branch = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
--icon = "",
|
--icon = "",
|
||||||
icon = icons.git.Branch,
|
icon = icons.git.Branch,
|
||||||
padding = { right = 1 },
|
padding = 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
local location = {
|
local location = {
|
||||||
|
@ -221,6 +221,7 @@ local lsp_info = {
|
||||||
end,
|
end,
|
||||||
--icon = " ",
|
--icon = " ",
|
||||||
icon = icons.ui.Gear .. "",
|
icon = icons.ui.Gear .. "",
|
||||||
|
padding = 1,
|
||||||
}
|
}
|
||||||
local lsp_progress = {}
|
local lsp_progress = {}
|
||||||
local data_exists, lspprogress = pcall(require, "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 = { diagnostics, lsp_info, lsp_progress },
|
||||||
-- lualine_c = { file_name, lsp_info },
|
-- lualine_c = { file_name, lsp_info },
|
||||||
-- lualine_x = { "encoding", "fileformat", "filetype" },
|
-- 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_y = { location },
|
||||||
--[[ lualine_z = { progress }, ]]
|
--[[ lualine_z = { progress }, ]]
|
||||||
lualine_z = { time },
|
lualine_z = { time },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue