summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-30 13:12:52 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-30 13:12:52 +0100
commitdae9bbb61223218d0043baffb3ede4cee9568872 (patch)
tree2b83a7eec58f868a74d39055f68013ea900a3518
parente35c7f984bb278024bc81c6a2fd5fe16a463cab1 (diff)
parentecf3e186d336e03b5ce7ed4e8f7f72ad983947df (diff)
Merge branch 'master' of github.com:aktersnurra/no-clown-fiesta.nvim
-rw-r--r--README.md2
-rw-r--r--lua/no-clown-fiesta/groups/dapui.lua35
-rw-r--r--lua/no-clown-fiesta/groups/init.lua2
-rw-r--r--lua/no-clown-fiesta/groups/neotest.lua29
4 files changed, 68 insertions, 0 deletions
diff --git a/README.md b/README.md
index c484bbd..3f0d047 100644
--- a/README.md
+++ b/README.md
@@ -55,3 +55,5 @@ require("no-clown-fiesta").setup({
- Telescope
- Treesitter
- WhichKey
+- Neotest
+- Dap UI
diff --git a/lua/no-clown-fiesta/groups/dapui.lua b/lua/no-clown-fiesta/groups/dapui.lua
new file mode 100644
index 0000000..188e97d
--- /dev/null
+++ b/lua/no-clown-fiesta/groups/dapui.lua
@@ -0,0 +1,35 @@
+local M = {}
+
+function M.highlight(palette, opts)
+ return {
+ DapUIScope = { fg = palette.cyan },
+ DapUIType = { fg = palette.magenta },
+ DapUIModifiedValue = { fg = palette.cyan, bold = true },
+ DapUIDecoration = { link = 'DapUIScope' },
+ DapUIThread = { fg = palette.green, bold = true },
+ DapUIStoppedThread = { link = 'DapUIScope' },
+ DapUISource = { link = 'DapUIType' },
+ DapUILineNumber = { link = 'DapUIScope' },
+ DapUIFloatBorder = { link = 'DapUIScope' },
+ DapUIWatchesEmpty = { fg = palette.red },
+ DapUIWatchesValue = { fg = palette.green },
+ DapUIWatchesError = { link = 'DapUIWatchesEmpty' },
+ DapUIBreakpointsPath = { link = 'DapUIScope' },
+ DapUIBreakpointsInfo = { link = 'DapUIWatchesValue' },
+ DapUIBreakpointsCurrentLine = { link = 'DapUIThread' },
+ DapUIBreakpointsDisabledLine = { fg = palette.fg },
+ DapUIStepOver = { link = 'DapUIScope' },
+ DapUIStepInto = { link = 'DapUIScope' },
+ DapUIStepBack = { link = 'DapUIScope' },
+ DapUIStepOut = { link = 'DapUIScope' },
+ DapUIStop = { link = 'DapUIWatchesEmpty' },
+ DapUIPlayPause = { link = 'DapUIWatchesValue' },
+ DapUIRestart = { link = 'DapUIWatchesValue' },
+ DapUIUnavailable = { link = 'DapUIBreakpointsDisabledLine' },
+ DapUIWinSelect = { link = 'DapUIModifiedValue' },
+ }
+end
+
+return M
+
+
diff --git a/lua/no-clown-fiesta/groups/init.lua b/lua/no-clown-fiesta/groups/init.lua
index 9c6bd42..cba9aa8 100644
--- a/lua/no-clown-fiesta/groups/init.lua
+++ b/lua/no-clown-fiesta/groups/init.lua
@@ -17,4 +17,6 @@ return {
require "no-clown-fiesta.groups.telescope",
require "no-clown-fiesta.groups.treesitter",
require "no-clown-fiesta.groups.whichkey",
+ require "no-clown-fiesta.groups.neotest",
+ require "no-clown-fiesta.groups.dapui",
}
diff --git a/lua/no-clown-fiesta/groups/neotest.lua b/lua/no-clown-fiesta/groups/neotest.lua
new file mode 100644
index 0000000..7264bff
--- /dev/null
+++ b/lua/no-clown-fiesta/groups/neotest.lua
@@ -0,0 +1,29 @@
+local M = {}
+
+function M.highlight(palette, opts)
+ return {
+ NeogitNotificationInfo = { fg = palette.sign_add },
+ NeogitNotificationWarning = { fg = palette.warning },
+ NeogitNotificationError = { fg = palette.sign_delete },
+ NeogitDiffAddHighlight = { fg = palette.sign_add, bg = palette.accent_green },
+ NeogitDiffDeleteHighlight = { fg = palette.sign_delete, bg = palette.accent_red },
+ NeogitDiffContextHighlight = { fg = palette.fg, bg = palette.alt_bg },
+ NeogitHunkHeader = { fg = palette.fg, bg = palette.alt_bg },
+ NeogitHunkHeaderHighlight = { fg = palette.fg, bg = palette.accent },
+ NeogitDiffAdd = { fg = palette.sign_add, bg = palette.accent_green },
+ NeogitDiffDelete = { fg = palette.sign_delete, bg = palette.accent_red },
+ NeotestAdapterName = { fg = palette.purple },
+ NeotestDir = { fg = palette.cyan },
+ NeotestExpandMarker = { fg = palette.gray },
+ NeotestFailed = { fg = palette.error },
+ NeotestFile = { fg = palette.cyan },
+ NeotestFocused = { bold = true },
+ NeotestIndent = { fg = palette.fg },
+ NeotestNamespace = { fg = palette.blue },
+ NeotestPassed = { fg = palette.green },
+ NeotestRunning = { fg = palette.yellow },
+ NeotestSkipped = { fg = palette.cyan },
+ }
+end
+
+return M