mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-10 09:24:29 +02:00
add: remove of unused plugins
This commit is contained in:
parent
02ea286c83
commit
53b42062e3
7 changed files with 25 additions and 17 deletions
|
@ -31,7 +31,7 @@ vim.g.pcode_clear_lualine = 0
|
|||
-- 0 disable progress
|
||||
-- 1 lualine lsp progress
|
||||
-- 2 fidget progress
|
||||
vim.g.pcode_progress = 2
|
||||
vim.g.pcode_progress = 1
|
||||
|
||||
-- style
|
||||
-- 0 = default
|
||||
|
|
|
@ -137,6 +137,12 @@ return {
|
|||
end
|
||||
end
|
||||
|
||||
local lsp_progress = {}
|
||||
local data_ok, lspprogress = pcall(require, "lsp-progress")
|
||||
if data_ok then
|
||||
lsp_progress = lspprogress.progress
|
||||
end
|
||||
|
||||
require("lualine").setup({
|
||||
options = {
|
||||
theme = "auto",
|
||||
|
@ -162,7 +168,7 @@ return {
|
|||
mode,
|
||||
},
|
||||
lualine_b = { get_branch },
|
||||
lualine_c = { lsp_info, diagnostics },
|
||||
lualine_c = { lsp_info, diagnostics, lsp_progress },
|
||||
lualine_x = { diff, spaces, "filetype" },
|
||||
lualine_y = { "progress" },
|
||||
lualine_z = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue