From b87bec08c3767bfa925c2d8d759e094c9145b394 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 22 Jul 2024 22:04:45 +0200 Subject: [PATCH] nvim: remove `paste` component from lualine (paste is deprecated) --- config/nvim/lua/fschauen/plugins/lualine.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/config/nvim/lua/fschauen/plugins/lualine.lua b/config/nvim/lua/fschauen/plugins/lualine.lua index 0bc92be..474b56d 100644 --- a/config/nvim/lua/fschauen/plugins/lualine.lua +++ b/config/nvim/lua/fschauen/plugins/lualine.lua @@ -3,7 +3,6 @@ local M = { "nvim-lualine/lualine.nvim" } local icons = require("fschauen.util.icons") local ui = icons.ui -local orange = "#d65d0e" local bright = "#ffffff" -- alternative: '#f9f5d7' M.dependencies = "nvim-tree/nvim-web-devicons" @@ -159,14 +158,6 @@ M.config = function() cond = function() return vim.bo.filetype ~= "help" end, } - local paste = { - colored_if_focused(function(has_focus) return has_focus and ui.Paste or " " end), - color = { - bg = orange, - }, - cond = function() return vim.o.paste end, - } - local status = { colored_if_focused(function(_) local status = "" @@ -181,7 +172,6 @@ M.config = function() local sections = { lualine_a = { - paste, mode, }, lualine_b = {