Disbaled incline plugin
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
return {
|
return {
|
||||||
"b0o/incline.nvim",
|
"b0o/incline.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
enabled = false,
|
||||||
config = function()
|
config = function()
|
||||||
local incline = require("incline")
|
local incline = require("incline")
|
||||||
|
|
||||||
|
|||||||
@@ -23,11 +23,11 @@ return {
|
|||||||
red = "#f38ba8",
|
red = "#f38ba8",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- local conditions = {
|
local conditions = {
|
||||||
-- hide_in_width = function()
|
hide_in_width = function()
|
||||||
-- return vim.fn.winwidth(0) > 80
|
return vim.fn.winwidth(0) > 80
|
||||||
-- end,
|
end,
|
||||||
-- }
|
}
|
||||||
|
|
||||||
local mode_color = {
|
local mode_color = {
|
||||||
n = colors.red,
|
n = colors.red,
|
||||||
@@ -138,10 +138,10 @@ return {
|
|||||||
return { bg = mode_color[vim.fn.mode()], fg = colors.bg }
|
return { bg = mode_color[vim.fn.mode()], fg = colors.bg }
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
-- local filename = {
|
local filename = {
|
||||||
-- "filename",
|
"filename",
|
||||||
-- color = { fg = colors.magenta, bg = "None", gui = "bold" },
|
color = { fg = colors.magenta, bg = "None", gui = "bold" },
|
||||||
-- }
|
}
|
||||||
local branch = {
|
local branch = {
|
||||||
"branch",
|
"branch",
|
||||||
icon = "",
|
icon = "",
|
||||||
@@ -150,17 +150,17 @@ return {
|
|||||||
vim.cmd("Neogit")
|
vim.cmd("Neogit")
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
-- local diagnostics = {
|
local diagnostics = {
|
||||||
-- "diagnostics",
|
"diagnostics",
|
||||||
-- sources = { "nvim_diagnostic" },
|
sources = { "nvim_diagnostic" },
|
||||||
-- symbols = { error = " ", warn = " ", info = " " },
|
symbols = { error = " ", warn = " ", info = " " },
|
||||||
-- diagnostics_color = {
|
diagnostics_color = {
|
||||||
-- color_error = { fg = colors.red, bg = "None", gui = "bold" },
|
color_error = { fg = colors.red, bg = "None", gui = "bold" },
|
||||||
-- color_warn = { fg = colors.yellow, bg = "None", gui = "bold" },
|
color_warn = { fg = colors.yellow, bg = "None", gui = "bold" },
|
||||||
-- color_info = { fg = colors.cyan, bg = "None", gui = "bold" },
|
color_info = { fg = colors.cyan, bg = "None", gui = "bold" },
|
||||||
-- },
|
},
|
||||||
-- color = { bg = mode, gui = "bold" },
|
color = { bg = mode, gui = "bold" },
|
||||||
-- }
|
}
|
||||||
local harpoon = {
|
local harpoon = {
|
||||||
"harpoon2",
|
"harpoon2",
|
||||||
icon = "",
|
icon = "",
|
||||||
@@ -188,16 +188,16 @@ return {
|
|||||||
show_colors = true,
|
show_colors = true,
|
||||||
color = { bg = "None", gui = "bold" },
|
color = { bg = "None", gui = "bold" },
|
||||||
}
|
}
|
||||||
-- local diff = {
|
local diff = {
|
||||||
-- "diff",
|
"diff",
|
||||||
-- symbols = { added = " ", modified = " ", removed = " " },
|
symbols = { added = " ", modified = " ", removed = " " },
|
||||||
-- diff_color = {
|
diff_color = {
|
||||||
-- added = { fg = colors.green, bg = "None" },
|
added = { fg = colors.green, bg = "None" },
|
||||||
-- modified = { fg = colors.orange, bg = "None" },
|
modified = { fg = colors.orange, bg = "None" },
|
||||||
-- removed = { fg = colors.red, bg = "None" },
|
removed = { fg = colors.red, bg = "None" },
|
||||||
-- },
|
},
|
||||||
-- cond = conditions.hide_in_width,
|
cond = conditions.hide_in_width,
|
||||||
-- }
|
}
|
||||||
local fileformat = {
|
local fileformat = {
|
||||||
"fileformat",
|
"fileformat",
|
||||||
fmt = string.upper,
|
fmt = string.upper,
|
||||||
@@ -284,12 +284,12 @@ return {
|
|||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = { mode },
|
lualine_a = { mode },
|
||||||
-- lualine_b = { filename, branch, "lsp-status" },
|
lualine_b = { filename, branch, "lsp-status" },
|
||||||
lualine_b = { branch, "lsp-status" },
|
-- lualine_b = { branch, "lsp-status" },
|
||||||
-- lualine_c = { diagnostics, sep, harpoon },
|
lualine_c = { diagnostics, sep, harpoon },
|
||||||
lualine_c = { sep, harpoon },
|
-- lualine_c = { sep, harpoon },
|
||||||
-- lualine_x = { copilot, diff, fileformat, lazy, mason },
|
lualine_x = { copilot, diff, fileformat, lazy, mason },
|
||||||
lualine_x = { copilot, fileformat, lazy, mason },
|
-- lualine_x = { copilot, fileformat, lazy, mason },
|
||||||
lualine_y = { buffers, filetype, progress },
|
lualine_y = { buffers, filetype, progress },
|
||||||
lualine_z = { location },
|
lualine_z = { location },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user