chore: format

This commit is contained in:
Michael Chris Lopez
2021-12-28 07:05:45 +08:00
parent 0bf9c5a489
commit 63386c6b9e
13 changed files with 7 additions and 25 deletions

View File

@@ -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,

View File

@@ -21,4 +21,3 @@
"brightCyan": "#00B4E0", "brightCyan": "#00B4E0",
"brightWhite": "#B3B692" "brightWhite": "#B3B692"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#7BC2DF", "brightCyan": "#7BC2DF",
"brightWhite": "#A8A48D" "brightWhite": "#A8A48D"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#2B747C", "brightCyan": "#2B747C",
"brightWhite": "#415934" "brightWhite": "#415934"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#6BCACB", "brightCyan": "#6BCACB",
"brightWhite": "#A8A8A8" "brightWhite": "#A8A8A8"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#006F70", "brightCyan": "#006F70",
"brightWhite": "#777777" "brightWhite": "#777777"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#2B747C", "brightCyan": "#2B747C",
"brightWhite": "#5C5C5C" "brightWhite": "#5C5C5C"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#65B8C1", "brightCyan": "#65B8C1",
"brightWhite": "#888F94" "brightWhite": "#888F94"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#2B747C", "brightCyan": "#2B747C",
"brightWhite": "#4F5E68" "brightWhite": "#4F5E68"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#65B8C1", "brightCyan": "#65B8C1",
"brightWhite": "#C0AB86" "brightWhite": "#C0AB86"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#65B8C1", "brightCyan": "#65B8C1",
"brightWhite": "#8E8E8E" "brightWhite": "#8E8E8E"
} }

View File

@@ -21,4 +21,3 @@
"brightCyan": "#2B747C", "brightCyan": "#2B747C",
"brightWhite": "#5C5C5C" "brightWhite": "#5C5C5C"
} }

View File

@@ -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 { text }
return vim.tbl_extend("keep", colors, { name = name }) end, { overwrite, string.format("extras/windows_terminal/%s.json", name) })
end,
function(colors)
local text = helpers.apply_template(template, colors)
return { text }
end,
{ 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