chore: format
This commit is contained in:
@@ -114,6 +114,7 @@ currently supported.
|
|||||||
- [Kitty](extras/kitty)
|
- [Kitty](extras/kitty)
|
||||||
- [Alacritty](extras/alacritty)
|
- [Alacritty](extras/alacritty)
|
||||||
- [WezTerm](extras/wezterm)
|
- [WezTerm](extras/wezterm)
|
||||||
|
- [Windows Terminal](extras/windows_terminal)
|
||||||
- [Tmux](extras/tmux)
|
- [Tmux](extras/tmux)
|
||||||
|
|
||||||
It's also possible to generate any color configuration files using shipwright,
|
It's also possible to generate any color configuration files using shipwright,
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#00B4E0",
|
"brightCyan": "#00B4E0",
|
||||||
"brightWhite": "#B3B692"
|
"brightWhite": "#B3B692"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#7BC2DF",
|
"brightCyan": "#7BC2DF",
|
||||||
"brightWhite": "#A8A48D"
|
"brightWhite": "#A8A48D"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#2B747C",
|
"brightCyan": "#2B747C",
|
||||||
"brightWhite": "#415934"
|
"brightWhite": "#415934"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#6BCACB",
|
"brightCyan": "#6BCACB",
|
||||||
"brightWhite": "#A8A8A8"
|
"brightWhite": "#A8A8A8"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#006F70",
|
"brightCyan": "#006F70",
|
||||||
"brightWhite": "#777777"
|
"brightWhite": "#777777"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#2B747C",
|
"brightCyan": "#2B747C",
|
||||||
"brightWhite": "#5C5C5C"
|
"brightWhite": "#5C5C5C"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#65B8C1",
|
"brightCyan": "#65B8C1",
|
||||||
"brightWhite": "#888F94"
|
"brightWhite": "#888F94"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#2B747C",
|
"brightCyan": "#2B747C",
|
||||||
"brightWhite": "#4F5E68"
|
"brightWhite": "#4F5E68"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#65B8C1",
|
"brightCyan": "#65B8C1",
|
||||||
"brightWhite": "#C0AB86"
|
"brightWhite": "#C0AB86"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#65B8C1",
|
"brightCyan": "#65B8C1",
|
||||||
"brightWhite": "#8E8E8E"
|
"brightWhite": "#8E8E8E"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@
|
|||||||
"brightCyan": "#2B747C",
|
"brightCyan": "#2B747C",
|
||||||
"brightWhite": "#5C5C5C"
|
"brightWhite": "#5C5C5C"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,24 +20,16 @@ local template = [[{
|
|||||||
"brightPurple": "$bright_magenta",
|
"brightPurple": "$bright_magenta",
|
||||||
"brightCyan": "$bright_cyan",
|
"brightCyan": "$bright_cyan",
|
||||||
"brightWhite": "$bright_white"
|
"brightWhite": "$bright_white"
|
||||||
}
|
}]]
|
||||||
]]
|
|
||||||
|
|
||||||
local helpers = require "shipwright.transform.helpers"
|
local helpers = require "shipwright.transform.helpers"
|
||||||
|
|
||||||
---@diagnostic disable: undefined-global
|
---@diagnostic disable: undefined-global
|
||||||
-- selene: allow(undefined_variable)
|
-- selene: allow(undefined_variable)
|
||||||
run(
|
run({ specs, p, term }, transform.colorscheme_to_term_colors, function(colors)
|
||||||
{ specs, p, term },
|
local values = vim.tbl_extend("keep", colors, { name = name })
|
||||||
transform.colorscheme_to_term_colors,
|
local text = helpers.apply_template(template, values)
|
||||||
function(colors)
|
|
||||||
return vim.tbl_extend("keep", colors, { name = name })
|
|
||||||
end,
|
|
||||||
function(colors)
|
|
||||||
local text = helpers.apply_template(template, colors)
|
|
||||||
return { text }
|
return { text }
|
||||||
end,
|
end, { overwrite, string.format("extras/windows_terminal/%s.json", name) })
|
||||||
{ overwrite, string.format("extras/windows_terminal/%s.json", name) }
|
|
||||||
)
|
|
||||||
-- selene: deny(undefined_variable)
|
-- selene: deny(undefined_variable)
|
||||||
---@diagnostic enable: undefined-global
|
---@diagnostic enable: undefined-global
|
||||||
|
|||||||
Reference in New Issue
Block a user