mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
add: load new window terminal alacritty
This commit is contained in:
parent
d00563a0a8
commit
1c9deb6b07
5 changed files with 38 additions and 8 deletions
|
@ -71,11 +71,12 @@ if data_exists then
|
|||
local ui_icon = custom_ui.status_icon
|
||||
if ui_icon ~= nil then
|
||||
if custom_ui.status_icon == 1 then
|
||||
icon_mode = ""
|
||||
icon_mode = " "
|
||||
sts_mode = 1
|
||||
elseif custom_ui.status_icon == 2 then
|
||||
icon_mode = ""
|
||||
icon_mode = " "
|
||||
sts_mode = 1
|
||||
end
|
||||
sts_mode = 1
|
||||
end
|
||||
local custom_style = custom_ui.custom_lualine
|
||||
if custom_style ~= nil and custom_style == true then
|
||||
|
@ -92,11 +93,22 @@ local mode = {
|
|||
"mode",
|
||||
padding = 1,
|
||||
fmt = function(str)
|
||||
-- if str == "NORMAL" then
|
||||
-- str = "NOR"
|
||||
-- elseif str == "INSERT" then
|
||||
-- str = "INS"
|
||||
-- elseif str == "VISUAL" then
|
||||
-- str = "VIS"
|
||||
-- elseif str == "COMMAND" then
|
||||
-- str = "CMD"
|
||||
-- else
|
||||
-- str = str
|
||||
-- end
|
||||
|
||||
if sts_mode == 0 then
|
||||
-- return "--" .. str .. "--"
|
||||
return str
|
||||
return " " .. str
|
||||
else
|
||||
-- return icon_mode .. str
|
||||
return icon_mode
|
||||
end
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue