.config/nvim/lua/kamu/plugins/lualine.lua aktualisiert
This commit is contained in:
@@ -72,8 +72,8 @@ return {
|
||||
theme = 'catppuccin',
|
||||
--fmt = string.lower,
|
||||
icons_enabled = true,
|
||||
component_separators = { left = '', right = ''},
|
||||
section_separators = { left = '', right = ''},
|
||||
component_separators = { left = '', right = '' },
|
||||
section_separators = { left = '', right = '' },
|
||||
disabled_filetypes = {
|
||||
statusline = {},
|
||||
winbar = {},
|
||||
@@ -101,7 +101,7 @@ return {
|
||||
{
|
||||
'branch',
|
||||
color = { fg = "#FFF" },
|
||||
icon = {'', color = function() return { fg = getModeColor('a','bg') } end },
|
||||
icon = { 'εéá', color = function() return { fg = getModeColor('a', 'bg') } end },
|
||||
},
|
||||
{
|
||||
'diff',
|
||||
@@ -123,18 +123,25 @@ return {
|
||||
if mb == "l" then
|
||||
--vim.print(mods)
|
||||
local mod = mods:gsub("%s+", "")
|
||||
if mod == "c" then tb.find_files(); return end
|
||||
if mod == "a" then tb.buffers(); return end
|
||||
if mod == "c" then
|
||||
tb.find_files(); return
|
||||
end
|
||||
if mod == "a" then
|
||||
tb.buffers(); return
|
||||
end
|
||||
end
|
||||
--require("telescope.builtin").find_files()
|
||||
end,
|
||||
} },
|
||||
lualine_x = {
|
||||
-- {
|
||||
-- function()
|
||||
-- return getModeColor('a','bg')
|
||||
-- end
|
||||
-- },
|
||||
-- print recording messages
|
||||
{
|
||||
require("noice").api.statusline.mode.get,
|
||||
cond = function()
|
||||
return require("noice").api.statusline.mode.has() and string.match(require("noice").api.statusline.mode.get(), '^recording @.$') ~= nil
|
||||
end,
|
||||
color = { fg = "#ff9e64" },
|
||||
},
|
||||
'encoding', 'fileformat', 'filetype' },
|
||||
lualine_y = {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user