nvim: remove paste
component from lualine (paste is deprecated)
This commit is contained in:
parent
b9d60d7078
commit
b87bec08c3
1 changed files with 0 additions and 10 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue