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)
- [Alacritty](extras/alacritty)
- [WezTerm](extras/wezterm)
- [Windows Terminal](extras/windows_terminal)
- [Tmux](extras/tmux)
It's also possible to generate any color configuration files using shipwright,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -20,24 +20,16 @@ local template = [[{
"brightPurple": "$bright_magenta",
"brightCyan": "$bright_cyan",
"brightWhite": "$bright_white"
}
]]
}]]
local helpers = require "shipwright.transform.helpers"
---@diagnostic disable: undefined-global
-- selene: allow(undefined_variable)
run(
{ specs, p, term },
transform.colorscheme_to_term_colors,
function(colors)
return vim.tbl_extend("keep", colors, { name = name })
end,
function(colors)
local text = helpers.apply_template(template, colors)
return { text }
end,
{ overwrite, string.format("extras/windows_terminal/%s.json", name) }
)
run({ specs, p, term }, transform.colorscheme_to_term_colors, function(colors)
local values = vim.tbl_extend("keep", colors, { name = name })
local text = helpers.apply_template(template, values)
return { text }
end, { overwrite, string.format("extras/windows_terminal/%s.json", name) })
-- selene: deny(undefined_variable)
---@diagnostic enable: undefined-global