diff --git a/lua/cyberdream/config.lua b/lua/cyberdream/config.lua index 30a7f87..a7c379e 100644 --- a/lua/cyberdream/config.lua +++ b/lua/cyberdream/config.lua @@ -31,6 +31,7 @@ local M = {} ---@field grapple? boolean ---@field heirline? boolean ---@field indentblankline? boolean +---@field kubectl? boolean ---@field lazy? boolean ---@field leap? boolean ---@field mini? boolean @@ -70,6 +71,7 @@ local default_options = { grapple = true, heirline = true, indentblankline = true, + kubectl = true, lazy = true, leap = true, mini = true, diff --git a/lua/cyberdream/extensions/kubectl.lua b/lua/cyberdream/extensions/kubectl.lua new file mode 100644 index 0000000..917cf4a --- /dev/null +++ b/lua/cyberdream/extensions/kubectl.lua @@ -0,0 +1,24 @@ +local M = {} + +--- Get extension configuration +--- @param opts Config +--- @param t CyberdreamPalette +function M.get(opts, t) + opts = opts or {} + local highlights = { + KubectlHeader = { fg = t.blue, style = "bold" }, + KubectlWarning = { fg = t.yellow }, + KubectlError = { fg = t.red }, + KubectlInfo = { fg = t.cyan }, + KubectlDebug = { fg = t.yellow }, + KubectlSuccess = { fg = t.cyan }, + KubectlPending = { fg = t.purple }, + KubectlDeprecated = { fg = t.magenta }, + KubectlExperimental = { fg = t.pink }, + KubectlNote = { fg = t.cyan }, + KubectlGray = { fg = t.gray }, + } + + return highlights +end +return M