From d8c46723f259f96953aea25faa6962186eb6fc3e Mon Sep 17 00:00:00 2001 From: Taken Date: Mon, 25 Nov 2024 18:24:43 +0100 Subject: [PATCH] Disbaled incline plugin --- lua/taken/plugins/incline.lua | 1 + lua/taken/plugins/lualine.lua | 72 +++++++++++++++++------------------ 2 files changed, 37 insertions(+), 36 deletions(-) diff --git a/lua/taken/plugins/incline.lua b/lua/taken/plugins/incline.lua index 59b69f9..5b52920 100644 --- a/lua/taken/plugins/incline.lua +++ b/lua/taken/plugins/incline.lua @@ -2,6 +2,7 @@ return { "b0o/incline.nvim", event = "VeryLazy", + enabled = false, config = function() local incline = require("incline") diff --git a/lua/taken/plugins/lualine.lua b/lua/taken/plugins/lualine.lua index 09ecd93..a50b083 100644 --- a/lua/taken/plugins/lualine.lua +++ b/lua/taken/plugins/lualine.lua @@ -23,11 +23,11 @@ return { red = "#f38ba8", } - -- local conditions = { - -- hide_in_width = function() - -- return vim.fn.winwidth(0) > 80 - -- end, - -- } + local conditions = { + hide_in_width = function() + return vim.fn.winwidth(0) > 80 + end, + } local mode_color = { n = colors.red, @@ -138,10 +138,10 @@ return { return { bg = mode_color[vim.fn.mode()], fg = colors.bg } end, } - -- local filename = { - -- "filename", - -- color = { fg = colors.magenta, bg = "None", gui = "bold" }, - -- } + local filename = { + "filename", + color = { fg = colors.magenta, bg = "None", gui = "bold" }, + } local branch = { "branch", icon = "", @@ -150,17 +150,17 @@ return { vim.cmd("Neogit") end, } - -- local diagnostics = { - -- "diagnostics", - -- sources = { "nvim_diagnostic" }, - -- symbols = { error = " ", warn = " ", info = " " }, - -- diagnostics_color = { - -- color_error = { fg = colors.red, bg = "None", gui = "bold" }, - -- color_warn = { fg = colors.yellow, bg = "None", gui = "bold" }, - -- color_info = { fg = colors.cyan, bg = "None", gui = "bold" }, - -- }, - -- color = { bg = mode, gui = "bold" }, - -- } + local diagnostics = { + "diagnostics", + sources = { "nvim_diagnostic" }, + symbols = { error = " ", warn = " ", info = " " }, + diagnostics_color = { + color_error = { fg = colors.red, bg = "None", gui = "bold" }, + color_warn = { fg = colors.yellow, bg = "None", gui = "bold" }, + color_info = { fg = colors.cyan, bg = "None", gui = "bold" }, + }, + color = { bg = mode, gui = "bold" }, + } local harpoon = { "harpoon2", icon = "󰀱", @@ -188,16 +188,16 @@ return { show_colors = true, color = { bg = "None", gui = "bold" }, } - -- local diff = { - -- "diff", - -- symbols = { added = " ", modified = "󰝤 ", removed = " " }, - -- diff_color = { - -- added = { fg = colors.green, bg = "None" }, - -- modified = { fg = colors.orange, bg = "None" }, - -- removed = { fg = colors.red, bg = "None" }, - -- }, - -- cond = conditions.hide_in_width, - -- } + local diff = { + "diff", + symbols = { added = " ", modified = "󰝤 ", removed = " " }, + diff_color = { + added = { fg = colors.green, bg = "None" }, + modified = { fg = colors.orange, bg = "None" }, + removed = { fg = colors.red, bg = "None" }, + }, + cond = conditions.hide_in_width, + } local fileformat = { "fileformat", fmt = string.upper, @@ -284,12 +284,12 @@ return { }, sections = { lualine_a = { mode }, - -- lualine_b = { filename, branch, "lsp-status" }, - lualine_b = { branch, "lsp-status" }, - -- lualine_c = { diagnostics, sep, harpoon }, - lualine_c = { sep, harpoon }, - -- lualine_x = { copilot, diff, fileformat, lazy, mason }, - lualine_x = { copilot, fileformat, lazy, mason }, + lualine_b = { filename, branch, "lsp-status" }, + -- lualine_b = { branch, "lsp-status" }, + lualine_c = { diagnostics, sep, harpoon }, + -- lualine_c = { sep, harpoon }, + lualine_x = { copilot, diff, fileformat, lazy, mason }, + -- lualine_x = { copilot, fileformat, lazy, mason }, lualine_y = { buffers, filetype, progress }, lualine_z = { location }, },