Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scottmckendry/cyberdream.nvim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e29cd524323e58bb057d9b202ac7a16b30619dcc
Choose a base ref
..
head repository: scottmckendry/cyberdream.nvim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b5b761108d39900cb54a1af976c2eb35ad070e25
Choose a head ref
Showing with 32 additions and 1 deletion.
  1. +6 −1 CHANGELOG.md
  2. +2 −0 lua/cyberdream/config.lua
  3. +24 −0 lua/cyberdream/extensions/kubectl.lua
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog

## [3.3.1](https://github.com/scottmckendry/cyberdream.nvim/compare/v3.3.0...v3.3.1) (2024-06-29)
## [3.4.0](https://github.com/scottmckendry/cyberdream.nvim/compare/v3.3.0...v3.4.0) (2024-07-03)


### Features

* **extensions:** add kubectl.nvim ([#88](https://github.com/scottmckendry/cyberdream.nvim/issues/88)) ([998e656](https://github.com/scottmckendry/cyberdream.nvim/commit/998e6562cea3f86af74c489eeaf005ae82657886))


### Bug Fixes
2 changes: 2 additions & 0 deletions lua/cyberdream/config.lua
Original file line number Diff line number Diff line change
@@ -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,
24 changes: 24 additions & 0 deletions lua/cyberdream/extensions/kubectl.lua
Original file line number Diff line number Diff line change
@@ -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