From 2bd6f97229e76bf1247cbe766585f5fcbfd327c8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 30 Jul 2022 17:10:22 +0200 Subject: Move plugin configs to highlight-group dir --- lua/no-clown-fiesta/alpha.lua | 10 ---- lua/no-clown-fiesta/git.lua | 14 ----- lua/no-clown-fiesta/highlight-group/alpha.lua | 10 ++++ lua/no-clown-fiesta/highlight-group/git.lua | 14 +++++ lua/no-clown-fiesta/highlight-group/hop.lua | 12 +++++ lua/no-clown-fiesta/highlight-group/lir.lua | 12 +++++ lua/no-clown-fiesta/highlight-group/lsp.lua | 46 +++++++++++++++++ lua/no-clown-fiesta/highlight-group/markdown.lua | 31 +++++++++++ lua/no-clown-fiesta/highlight-group/neogit.lua | 24 +++++++++ lua/no-clown-fiesta/highlight-group/nvim-cmp.lua | 14 +++++ lua/no-clown-fiesta/highlight-group/nvim-tree.lua | 38 ++++++++++++++ lua/no-clown-fiesta/highlight-group/statusline.lua | 13 +++++ lua/no-clown-fiesta/highlight-group/telescope.lua | 12 +++++ lua/no-clown-fiesta/highlight-group/treesitter.lua | 60 ++++++++++++++++++++++ lua/no-clown-fiesta/highlight-group/whichkey.lua | 13 +++++ lua/no-clown-fiesta/hop.lua | 12 ----- lua/no-clown-fiesta/init.lua | 40 ++++++++++----- lua/no-clown-fiesta/lir.lua | 12 ----- lua/no-clown-fiesta/lsp.lua | 46 ----------------- lua/no-clown-fiesta/markdown.lua | 31 ----------- lua/no-clown-fiesta/neogit.lua | 24 --------- lua/no-clown-fiesta/nvim-cmp.lua | 14 ----- lua/no-clown-fiesta/nvim-tree.lua | 38 -------------- lua/no-clown-fiesta/statusline.lua | 13 ----- lua/no-clown-fiesta/telescope.lua | 12 ----- lua/no-clown-fiesta/treesitter.lua | 60 ---------------------- lua/no-clown-fiesta/whichkey.lua | 13 ----- 27 files changed, 326 insertions(+), 312 deletions(-) delete mode 100644 lua/no-clown-fiesta/alpha.lua delete mode 100644 lua/no-clown-fiesta/git.lua create mode 100644 lua/no-clown-fiesta/highlight-group/alpha.lua create mode 100644 lua/no-clown-fiesta/highlight-group/git.lua create mode 100644 lua/no-clown-fiesta/highlight-group/hop.lua create mode 100644 lua/no-clown-fiesta/highlight-group/lir.lua create mode 100644 lua/no-clown-fiesta/highlight-group/lsp.lua create mode 100644 lua/no-clown-fiesta/highlight-group/markdown.lua create mode 100644 lua/no-clown-fiesta/highlight-group/neogit.lua create mode 100644 lua/no-clown-fiesta/highlight-group/nvim-cmp.lua create mode 100644 lua/no-clown-fiesta/highlight-group/nvim-tree.lua create mode 100644 lua/no-clown-fiesta/highlight-group/statusline.lua create mode 100644 lua/no-clown-fiesta/highlight-group/telescope.lua create mode 100644 lua/no-clown-fiesta/highlight-group/treesitter.lua create mode 100644 lua/no-clown-fiesta/highlight-group/whichkey.lua delete mode 100644 lua/no-clown-fiesta/hop.lua delete mode 100644 lua/no-clown-fiesta/lir.lua delete mode 100644 lua/no-clown-fiesta/lsp.lua delete mode 100644 lua/no-clown-fiesta/markdown.lua delete mode 100644 lua/no-clown-fiesta/neogit.lua delete mode 100644 lua/no-clown-fiesta/nvim-cmp.lua delete mode 100644 lua/no-clown-fiesta/nvim-tree.lua delete mode 100644 lua/no-clown-fiesta/statusline.lua delete mode 100644 lua/no-clown-fiesta/telescope.lua delete mode 100644 lua/no-clown-fiesta/treesitter.lua delete mode 100644 lua/no-clown-fiesta/whichkey.lua (limited to 'lua/no-clown-fiesta') diff --git a/lua/no-clown-fiesta/alpha.lua b/lua/no-clown-fiesta/alpha.lua deleted file mode 100644 index 167019a..0000000 --- a/lua/no-clown-fiesta/alpha.lua +++ /dev/null @@ -1,10 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - AlphaHeader = { fg = palette.gray_blue }, - AlphaButtons = { fg = palette.medium_gray }, - } -end - -return M diff --git a/lua/no-clown-fiesta/git.lua b/lua/no-clown-fiesta/git.lua deleted file mode 100644 index 4c71de3..0000000 --- a/lua/no-clown-fiesta/git.lua +++ /dev/null @@ -1,14 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - SignAdd = { fg = palette.sign_add }, - SignChange = { fg = palette.sign_change }, - SignDelete = { fg = palette.sign_delete }, - GitSignsAdd = { fg = palette.sign_add }, - GitSignsChange = { fg = palette.sign_change }, - GitSignsDelete = { fg = palette.sign_delete }, - } -end - -return M diff --git a/lua/no-clown-fiesta/highlight-group/alpha.lua b/lua/no-clown-fiesta/highlight-group/alpha.lua new file mode 100644 index 0000000..167019a --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/alpha.lua @@ -0,0 +1,10 @@ +local M = {} + +function M.highlight(palette) + return { + AlphaHeader = { fg = palette.gray_blue }, + AlphaButtons = { fg = palette.medium_gray }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/git.lua b/lua/no-clown-fiesta/highlight-group/git.lua new file mode 100644 index 0000000..4c71de3 --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/git.lua @@ -0,0 +1,14 @@ +local M = {} + +function M.highlight(palette) + return { + SignAdd = { fg = palette.sign_add }, + SignChange = { fg = palette.sign_change }, + SignDelete = { fg = palette.sign_delete }, + GitSignsAdd = { fg = palette.sign_add }, + GitSignsChange = { fg = palette.sign_change }, + GitSignsDelete = { fg = palette.sign_delete }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/hop.lua b/lua/no-clown-fiesta/highlight-group/hop.lua new file mode 100644 index 0000000..341c6ff --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/hop.lua @@ -0,0 +1,12 @@ +local M = {} + +function M.highlight(palette) + return { + HopNextKey = { fg = palette.cyan, style = "bold" }, + HopNextKey1 = { fg = palette.red, style = "bold" }, + HopNextKey2 = { fg = palette.gray_blue }, + HopUnmatched = { fg = palette.gray }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/lir.lua b/lua/no-clown-fiesta/highlight-group/lir.lua new file mode 100644 index 0000000..47071b7 --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/lir.lua @@ -0,0 +1,12 @@ +local M = {} + +function M.highlight(palette) + return { + LirFloatNormal = { fg = palette.fg, bg = palette.alt_bg }, + LirDir = { fg = palette.white }, + LirSymLink = { fg = palette.cyan }, + LirEmptyDirText = { fg = palette.medium_gray }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua new file mode 100644 index 0000000..ba3f5e5 --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/lsp.lua @@ -0,0 +1,46 @@ +local M = {} + +function M.highlight(palette) + return { + LspDiagnosticsDefaultError = { fg = palette.error_red }, + LspDiagnosticsDefaultWarning = { fg = palette.warning_orange }, + LspDiagnosticsDefaultInformation = { fg = palette.info_yellow }, + LspDiagnosticsDefaultInfo = { fg = palette.info_yellow }, + LspDiagnosticsDefaultHint = { fg = palette.hint_blue }, + LspDiagnosticsVirtualTextError = { fg = palette.error_red }, + LspDiagnosticsVirtualTextWarning = { fg = palette.warning_orange }, + LspDiagnosticsVirtualTextInformation = { fg = palette.info_yellow }, + LspDiagnosticsVirtualTextInfo = { fg = palette.info_yellow }, + LspDiagnosticsVirtualTextHint = { fg = palette.hint_blue }, + LspDiagnosticsFloatingError = { fg = palette.error_red }, + LspDiagnosticsFloatingWarning = { fg = palette.warning_orange }, + LspDiagnosticsFloatingInformation = { fg = palette.info_yellow }, + LspDiagnosticsFloatingInfo = { fg = palette.info_yellow }, + LspDiagnosticsFloatingHint = { fg = palette.hint_blue }, + DiagnosticSignError = { fg = palette.error_red }, + DiagnosticSignWarning = { fg = palette.warning_orange }, + DiagnosticSignInformation = { fg = palette.info_yellow }, + DiagnosticSignInfo = { fg = palette.info_yellow }, + DiagnosticSignHint = { fg = palette.hint_blue }, + LspDiagnosticsSignError = { fg = palette.error_red }, + LspDiagnosticsSignWarning = { fg = palette.warning_orange }, + LspDiagnosticsSignInformation = { fg = palette.info_yellow }, + LspDiagnosticsSignInfo = { fg = palette.info_yellow }, + LspDiagnosticsSignHint = { fg = palette.hint_blue }, + LspDiagnosticsError = { fg = palette.error_red }, + LspDiagnosticsWarning = { fg = palette.warning_orange }, + LspDiagnosticsInformation = { fg = palette.info_yellow }, + LspDiagnosticsInfo = { fg = palette.info_yellow }, + LspDiagnosticsHint = { fg = palette.hint_blue }, + LspDiagnosticsUnderlineError = { style = "underline" }, + LspDiagnosticsUnderlineWarning = { style = "underline" }, + LspDiagnosticsUnderlineInformation = { style = "underline" }, + LspDiagnosticsUnderlineInfo = { style = "underline" }, + LspDiagnosticsUnderlineHint = { style = "underline" }, + LspReferenceRead = { bg = "#36383F" }, + LspReferenceText = { bg = "#36383F" }, + LspReferenceWrite = { bg = "#36383f" }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/markdown.lua b/lua/no-clown-fiesta/highlight-group/markdown.lua new file mode 100644 index 0000000..28ece3b --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/markdown.lua @@ -0,0 +1,31 @@ +local M = {} + +function M.highlight(palette) + return { + markdownBlockquote = { fg = palette.accent }, + markdownBold = { fg = palette.yellow, style = "bold" }, + markdownCode = { fg = palette.green }, + markdownCodeBlock = { fg = palette.green }, + markdownCodeDelimiter = { fg = palette.green }, + markdownH1 = { fg = palette.blue }, + markdownH2 = { fg = palette.blue }, + markdownH3 = { fg = palette.blue }, + markdownH4 = { fg = palette.blue }, + markdownH5 = { fg = palette.blue }, + markdownH6 = { fg = palette.blue }, + markdownHeadingDelimiter = { fg = palette.red }, + markdownHeadingRule = { fg = palette.accent }, + markdownId = { fg = palette.purple }, + markdownIdDeclaration = { fg = palette.blue }, + markdownIdDelimiter = { fg = palette.light_gray }, + markdownLinkDelimiter = { fg = palette.light_gray }, + markdownItalic = { style = "italic" }, + markdownLinkText = { fg = palette.blue }, + markdownListMarker = { fg = palette.red }, + markdownOrderedListMarker = { fg = palette.red }, + markdownRule = { fg = palette.accent }, + markdownUrl = { fg = palette.cyan, style = "underline" }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/neogit.lua b/lua/no-clown-fiesta/highlight-group/neogit.lua new file mode 100644 index 0000000..40917c1 --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/neogit.lua @@ -0,0 +1,24 @@ +local M = {} + +function M.highlight(palette) + return { + NeogitNotificationInfo = { fg = palette.sign_add }, + NeogitNotificationWarning = { fg = palette.warning_orange }, + NeogitNotificationError = { fg = palette.sign_delete }, + NeogitDiffAddHighlight = { + fg = palette.sign_add, + bg = palette.neogit_light_green, + }, + NeogitDiffDeleteHighlight = { + fg = palette.sign_delete, + bg = palette.neogit_light_red, + }, + NeogitDiffpaletteontextHighlight = { fg = palette.fg, bg = palette.accent }, + NeogitHunkHeader = { fg = palette.fg, bg = palette.alt_bg }, + NeogitHunkHeaderHighlight = { fg = palette.fg, bg = palette.gray }, + NeogitDiffAdd = { fg = palette.sign_add, bg = palette.neogit_green }, + NeogitDiffDelete = { fg = palette.sign_delete, bg = palette.neogit_red }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/nvim-cmp.lua b/lua/no-clown-fiesta/highlight-group/nvim-cmp.lua new file mode 100644 index 0000000..364af5b --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/nvim-cmp.lua @@ -0,0 +1,14 @@ +local M = {} + +function M.highlight(palette) + return { + CmpItemAbbr = { fg = palette.fg }, + CmpItemAbbrDeprecated = { fg = palette.red }, + CmpItemAbbrMatch = { fg = palette.orange }, + CmpItemAbbrMatchFuzzy = { fg = palette.orange }, + CmpItemMenu = { fg = palette.medium_gray }, + CmpItemKind = { fg = palette.light_gray }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua new file mode 100644 index 0000000..ffe7897 --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua @@ -0,0 +1,38 @@ +local M = {} + +function M.highlight(palette) + return { + NvimTreeFolderIcon = { fg = palette.white }, + NvimTreeIndentMarker = { fg = palette.alt_bg }, + NvimTreeNormal = { fg = palette.light_gray, bg = palette.alt_bg }, + NvimTreeVertSplit = { fg = palette.alt_bg, bg = palette.alt_bg }, + NvimTreeFolderName = { fg = palette.white }, + NvimTreeOpenedFolderName = { fg = palette.white, style = "bold" }, + NvimTreeEmptyFolderName = { fg = palette.medium_gray }, + NvimTreeGitIgnored = { fg = palette.medium_gray }, + NvimTreeImageFile = { fg = palette.light_gray }, + NvimTreeSpecialFile = { fg = palette.orange }, + NvimTreeEndOfBuffer = { fg = palette.alt_bg }, + NvimTreeCursorLine = { bg = palette.accent }, + NvimTreeGitignoreIcon = { fg = palette.red }, + NvimTreeGitStaged = { fg = palette.cyan }, + NvimTreeGitNew = { fg = palette.cyan }, + NvimTreeGitRenamed = { fg = palette.cyan }, + NvimTreeGitDeleted = { fg = palette.sign_delete }, + NvimTreeGitMerge = { fg = palette.info_yellow }, + NvimTreeGitDirty = { fg = palette.info_yellow }, + NvimTreeSymlink = { fg = palette.cyan }, + NvimTreeRootFolder = { fg = palette.fg, style = "bold" }, + NvimTreeExecFile = { fg = palette.green }, + NvimTreeStatusLine = { fg = palette.alt_bg, bg = palette.alt_bg }, + NvimTreeStatusLineNC = { fg = palette.alt_bg, bg = palette.alt_bg }, + NvimTreeStatusNC = { fg = palette.alt_bg, bg = palette.alt_bg }, + NvimTreeLspDiagnosticsErr = { fg = palette.error_red }, + NvimTreeLspDiagnosticsError = { fg = palette.error_red }, + NvimTreeLspDiagnosticsHint = { fg = palette.hint_blue }, + NvimTreeLspDiagnosticsInformation = { fg = palette.info_yellow }, + NvimTreeLspDiagnosticsWarning = { fg = palette.warning_orange }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/statusline.lua b/lua/no-clown-fiesta/highlight-group/statusline.lua new file mode 100644 index 0000000..0ca1d1d --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/statusline.lua @@ -0,0 +1,13 @@ +local M = {} + +function M.highlight(palette) + return { + StatusLine = { fg = palette.bg, bg = palette.gray }, + StatusLineNC = { fg = palette.bg, bg = palette.gray }, + StatusLineSeparator = { fg = palette.bg }, + StatusLineTerm = { fg = palette.bg }, + StatusLineTermNC = { fg = palette.bg }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/telescope.lua b/lua/no-clown-fiesta/highlight-group/telescope.lua new file mode 100644 index 0000000..d81da87 --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/telescope.lua @@ -0,0 +1,12 @@ +local M = {} + +function M.highlight(palette) + return { + TelescopeNormal = { fg = palette.fg, bg = palette.bg }, + TelescopeSelection = { fg = palette.fg, bg = palette.accent }, + TelescopeMatching = { fg = palette.info_yellow, style = "bold" }, + TelescopeBorder = { fg = palette.medium_gray, bg = palette.bg }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/treesitter.lua b/lua/no-clown-fiesta/highlight-group/treesitter.lua new file mode 100644 index 0000000..665ac8a --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/treesitter.lua @@ -0,0 +1,60 @@ +local M = {} + +function M.highlight(palette, opts) + return { + TSComment = { fg = palette.medium_gray, style = opts.comments }, + TSAnnotation = { fg = palette.white }, + TSAttribute = { fg = palette.white }, + TSConstructor = { fg = palette.white }, + TSType = { fg = palette.white, style = opts.type }, + TSTypeBuiltin = { fg = palette.white }, + TSConditional = { fg = palette.gray_blue }, + TSException = { fg = palette.red }, + TSInclude = { fg = palette.red }, + TSKeyword = { fg = palette.gray_blue, style = opts.keywords }, + TSKeywordFunction = { fg = palette.gray_blue, style = opts.keywords }, + TSLabel = { fg = palette.white }, + TSNamespace = { fg = palette.white }, + TSRepeat = { fg = palette.gray_blue }, + TSConstant = { fg = palette.white }, + TSConstBuiltin = { fg = palette.red }, + TSFloat = { fg = palette.red }, + TSNumber = { fg = palette.red }, + TSBoolean = { fg = palette.red }, + TSCharacter = { fg = palette.light_green }, + TSError = { fg = palette.error_red }, + TSFunction = { fg = palette.cyan, style = opts.functions }, + TSFuncBuiltin = { fg = palette.cyan }, + TSMethod = { fg = palette.cyan }, + TSConstMacro = { fg = palette.cyan }, + TSFuncMacro = { fg = palette.cyan }, + TSVariable = { fg = palette.white, style = opts.variables }, + TSVariableBuiltin = { fg = palette.white }, + TSProperty = { fg = palette.white }, + TSOperator = { fg = palette.white }, + TSField = { fg = palette.white }, + TSParameter = { fg = palette.white }, + TSParameterReference = { fg = palette.white }, + TSSymbol = { fg = palette.medium_gray }, + TSText = { fg = palette.fg }, + TSPunctDelimiter = { fg = palette.white }, + TSTagDelimiter = { fg = palette.white }, + TSPunctBracket = { fg = palette.white }, + TSPunctSpecial = { fg = palette.medium_gray }, + TSString = { fg = palette.medium_gray_blue }, + TSStringRegex = { fg = palette.medium_gray_blue }, + TSStringEscape = { fg = palette.medium_gray_blue }, + TSTag = { fg = palette.pale_purple }, + TSEmphasis = { style = "italic" }, + TSUnderline = { style = "underline" }, + TSTitle = { fg = palette.medium_gray }, + TSLiteral = { fg = palette.medium_gray }, + TSURI = { fg = palette.cyan, style = "underline" }, + TSKeywordOperator = { fg = palette.gray_blue }, + TSStructure = { fg = palette.purple_test }, + TSStrong = { fg = palette.medium_gray }, + TSQueryLinterError = { fg = palette.warning_orange }, + } +end + +return M diff --git a/lua/no-clown-fiesta/highlight-group/whichkey.lua b/lua/no-clown-fiesta/highlight-group/whichkey.lua new file mode 100644 index 0000000..66ac153 --- /dev/null +++ b/lua/no-clown-fiesta/highlight-group/whichkey.lua @@ -0,0 +1,13 @@ +local M = {} + +function M.highlight(palette) + return { + WhichKey = { fg = palette.light_gray }, + WhichKeySeperator = { fg = palette.gray }, + WhichKeyGroup = { fg = palette.red }, + WhichKeyDesc = { fg = palette.light_gray }, + WhichKeyFloat = { bg = palette.bg }, + } +end + +return M diff --git a/lua/no-clown-fiesta/hop.lua b/lua/no-clown-fiesta/hop.lua deleted file mode 100644 index 341c6ff..0000000 --- a/lua/no-clown-fiesta/hop.lua +++ /dev/null @@ -1,12 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - HopNextKey = { fg = palette.cyan, style = "bold" }, - HopNextKey1 = { fg = palette.red, style = "bold" }, - HopNextKey2 = { fg = palette.gray_blue }, - HopUnmatched = { fg = palette.gray }, - } -end - -return M diff --git a/lua/no-clown-fiesta/init.lua b/lua/no-clown-fiesta/init.lua index 14a3f2a..170a4d2 100644 --- a/lua/no-clown-fiesta/init.lua +++ b/lua/no-clown-fiesta/init.lua @@ -17,20 +17,34 @@ function M.setup(opts) local util = require "no-clown-fiesta.util" local palette = require "no-clown-fiesta.palette" - local alpha = require("no-clown-fiesta.alpha").highlight(palette) - local git = require("no-clown-fiesta.git").highlight(palette) - local hop = require("no-clown-fiesta.hop").highlight(palette) local highlights = require("no-clown-fiesta.highlights").highlight(palette, opts) - local lir = require("no-clown-fiesta.lir").highlight(palette) - local lsp = require("no-clown-fiesta.lsp").highlight(palette) - local markdown = require("no-clown-fiesta.markdown").highlight(palette) - local neogit = require("no-clown-fiesta.neogit").highlight(palette) - local nvimtree = require("no-clown-fiesta.nvim-tree").highlight(palette) - local nvimcmp = require("no-clown-fiesta.nvim-cmp").highlight(palette) - local statusline = require("no-clown-fiesta.statusline").highlight(palette) - local telescope = require("no-clown-fiesta.telescope").highlight(palette) - local treesitter = require("no-clown-fiesta.treesitter").highlight(palette, opts) - local whichkey = require("no-clown-fiesta.whichkey").highlight(palette) + + local alpha = require("no-clown-fiesta.highlight-group.alpha").highlight(palette) + local git = require("no-clown-fiesta.highlight-group.git").highlight(palette) + local hop = require("no-clown-fiesta.highlight-group.hop").highlight(palette) + local lir = require("no-clown-fiesta.highlight-group.lir").highlight(palette) + local lsp = require("no-clown-fiesta.highlight-group.lsp").highlight(palette) + local markdown = require("no-clown-fiesta.highlight-group.markdown").highlight( + palette + ) + local neogit = require("no-clown-fiesta.highlight-group.neogit").highlight(palette) + local nvimtree = require("no-clown-fiesta.highlight-group.nvim-tree").highlight( + palette + ) + local nvimcmp = require("no-clown-fiesta.highlight-group.nvim-cmp").highlight(palette) + local statusline = require("no-clown-fiesta.highlight-group.statusline").highlight( + palette + ) + local telescope = require("no-clown-fiesta.highlight-group.telescope").highlight( + palette + ) + local treesitter = require("no-clown-fiesta.highlight-group.treesitter").highlight( + palette, + opts + ) + local whichkey = require("no-clown-fiesta.highlight-group.whichkey").highlight( + palette + ) local skeletons = { alpha, diff --git a/lua/no-clown-fiesta/lir.lua b/lua/no-clown-fiesta/lir.lua deleted file mode 100644 index 47071b7..0000000 --- a/lua/no-clown-fiesta/lir.lua +++ /dev/null @@ -1,12 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - LirFloatNormal = { fg = palette.fg, bg = palette.alt_bg }, - LirDir = { fg = palette.white }, - LirSymLink = { fg = palette.cyan }, - LirEmptyDirText = { fg = palette.medium_gray }, - } -end - -return M diff --git a/lua/no-clown-fiesta/lsp.lua b/lua/no-clown-fiesta/lsp.lua deleted file mode 100644 index ba3f5e5..0000000 --- a/lua/no-clown-fiesta/lsp.lua +++ /dev/null @@ -1,46 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - LspDiagnosticsDefaultError = { fg = palette.error_red }, - LspDiagnosticsDefaultWarning = { fg = palette.warning_orange }, - LspDiagnosticsDefaultInformation = { fg = palette.info_yellow }, - LspDiagnosticsDefaultInfo = { fg = palette.info_yellow }, - LspDiagnosticsDefaultHint = { fg = palette.hint_blue }, - LspDiagnosticsVirtualTextError = { fg = palette.error_red }, - LspDiagnosticsVirtualTextWarning = { fg = palette.warning_orange }, - LspDiagnosticsVirtualTextInformation = { fg = palette.info_yellow }, - LspDiagnosticsVirtualTextInfo = { fg = palette.info_yellow }, - LspDiagnosticsVirtualTextHint = { fg = palette.hint_blue }, - LspDiagnosticsFloatingError = { fg = palette.error_red }, - LspDiagnosticsFloatingWarning = { fg = palette.warning_orange }, - LspDiagnosticsFloatingInformation = { fg = palette.info_yellow }, - LspDiagnosticsFloatingInfo = { fg = palette.info_yellow }, - LspDiagnosticsFloatingHint = { fg = palette.hint_blue }, - DiagnosticSignError = { fg = palette.error_red }, - DiagnosticSignWarning = { fg = palette.warning_orange }, - DiagnosticSignInformation = { fg = palette.info_yellow }, - DiagnosticSignInfo = { fg = palette.info_yellow }, - DiagnosticSignHint = { fg = palette.hint_blue }, - LspDiagnosticsSignError = { fg = palette.error_red }, - LspDiagnosticsSignWarning = { fg = palette.warning_orange }, - LspDiagnosticsSignInformation = { fg = palette.info_yellow }, - LspDiagnosticsSignInfo = { fg = palette.info_yellow }, - LspDiagnosticsSignHint = { fg = palette.hint_blue }, - LspDiagnosticsError = { fg = palette.error_red }, - LspDiagnosticsWarning = { fg = palette.warning_orange }, - LspDiagnosticsInformation = { fg = palette.info_yellow }, - LspDiagnosticsInfo = { fg = palette.info_yellow }, - LspDiagnosticsHint = { fg = palette.hint_blue }, - LspDiagnosticsUnderlineError = { style = "underline" }, - LspDiagnosticsUnderlineWarning = { style = "underline" }, - LspDiagnosticsUnderlineInformation = { style = "underline" }, - LspDiagnosticsUnderlineInfo = { style = "underline" }, - LspDiagnosticsUnderlineHint = { style = "underline" }, - LspReferenceRead = { bg = "#36383F" }, - LspReferenceText = { bg = "#36383F" }, - LspReferenceWrite = { bg = "#36383f" }, - } -end - -return M diff --git a/lua/no-clown-fiesta/markdown.lua b/lua/no-clown-fiesta/markdown.lua deleted file mode 100644 index 28ece3b..0000000 --- a/lua/no-clown-fiesta/markdown.lua +++ /dev/null @@ -1,31 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - markdownBlockquote = { fg = palette.accent }, - markdownBold = { fg = palette.yellow, style = "bold" }, - markdownCode = { fg = palette.green }, - markdownCodeBlock = { fg = palette.green }, - markdownCodeDelimiter = { fg = palette.green }, - markdownH1 = { fg = palette.blue }, - markdownH2 = { fg = palette.blue }, - markdownH3 = { fg = palette.blue }, - markdownH4 = { fg = palette.blue }, - markdownH5 = { fg = palette.blue }, - markdownH6 = { fg = palette.blue }, - markdownHeadingDelimiter = { fg = palette.red }, - markdownHeadingRule = { fg = palette.accent }, - markdownId = { fg = palette.purple }, - markdownIdDeclaration = { fg = palette.blue }, - markdownIdDelimiter = { fg = palette.light_gray }, - markdownLinkDelimiter = { fg = palette.light_gray }, - markdownItalic = { style = "italic" }, - markdownLinkText = { fg = palette.blue }, - markdownListMarker = { fg = palette.red }, - markdownOrderedListMarker = { fg = palette.red }, - markdownRule = { fg = palette.accent }, - markdownUrl = { fg = palette.cyan, style = "underline" }, - } -end - -return M diff --git a/lua/no-clown-fiesta/neogit.lua b/lua/no-clown-fiesta/neogit.lua deleted file mode 100644 index 40917c1..0000000 --- a/lua/no-clown-fiesta/neogit.lua +++ /dev/null @@ -1,24 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - NeogitNotificationInfo = { fg = palette.sign_add }, - NeogitNotificationWarning = { fg = palette.warning_orange }, - NeogitNotificationError = { fg = palette.sign_delete }, - NeogitDiffAddHighlight = { - fg = palette.sign_add, - bg = palette.neogit_light_green, - }, - NeogitDiffDeleteHighlight = { - fg = palette.sign_delete, - bg = palette.neogit_light_red, - }, - NeogitDiffpaletteontextHighlight = { fg = palette.fg, bg = palette.accent }, - NeogitHunkHeader = { fg = palette.fg, bg = palette.alt_bg }, - NeogitHunkHeaderHighlight = { fg = palette.fg, bg = palette.gray }, - NeogitDiffAdd = { fg = palette.sign_add, bg = palette.neogit_green }, - NeogitDiffDelete = { fg = palette.sign_delete, bg = palette.neogit_red }, - } -end - -return M diff --git a/lua/no-clown-fiesta/nvim-cmp.lua b/lua/no-clown-fiesta/nvim-cmp.lua deleted file mode 100644 index 364af5b..0000000 --- a/lua/no-clown-fiesta/nvim-cmp.lua +++ /dev/null @@ -1,14 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - CmpItemAbbr = { fg = palette.fg }, - CmpItemAbbrDeprecated = { fg = palette.red }, - CmpItemAbbrMatch = { fg = palette.orange }, - CmpItemAbbrMatchFuzzy = { fg = palette.orange }, - CmpItemMenu = { fg = palette.medium_gray }, - CmpItemKind = { fg = palette.light_gray }, - } -end - -return M diff --git a/lua/no-clown-fiesta/nvim-tree.lua b/lua/no-clown-fiesta/nvim-tree.lua deleted file mode 100644 index ffe7897..0000000 --- a/lua/no-clown-fiesta/nvim-tree.lua +++ /dev/null @@ -1,38 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - NvimTreeFolderIcon = { fg = palette.white }, - NvimTreeIndentMarker = { fg = palette.alt_bg }, - NvimTreeNormal = { fg = palette.light_gray, bg = palette.alt_bg }, - NvimTreeVertSplit = { fg = palette.alt_bg, bg = palette.alt_bg }, - NvimTreeFolderName = { fg = palette.white }, - NvimTreeOpenedFolderName = { fg = palette.white, style = "bold" }, - NvimTreeEmptyFolderName = { fg = palette.medium_gray }, - NvimTreeGitIgnored = { fg = palette.medium_gray }, - NvimTreeImageFile = { fg = palette.light_gray }, - NvimTreeSpecialFile = { fg = palette.orange }, - NvimTreeEndOfBuffer = { fg = palette.alt_bg }, - NvimTreeCursorLine = { bg = palette.accent }, - NvimTreeGitignoreIcon = { fg = palette.red }, - NvimTreeGitStaged = { fg = palette.cyan }, - NvimTreeGitNew = { fg = palette.cyan }, - NvimTreeGitRenamed = { fg = palette.cyan }, - NvimTreeGitDeleted = { fg = palette.sign_delete }, - NvimTreeGitMerge = { fg = palette.info_yellow }, - NvimTreeGitDirty = { fg = palette.info_yellow }, - NvimTreeSymlink = { fg = palette.cyan }, - NvimTreeRootFolder = { fg = palette.fg, style = "bold" }, - NvimTreeExecFile = { fg = palette.green }, - NvimTreeStatusLine = { fg = palette.alt_bg, bg = palette.alt_bg }, - NvimTreeStatusLineNC = { fg = palette.alt_bg, bg = palette.alt_bg }, - NvimTreeStatusNC = { fg = palette.alt_bg, bg = palette.alt_bg }, - NvimTreeLspDiagnosticsErr = { fg = palette.error_red }, - NvimTreeLspDiagnosticsError = { fg = palette.error_red }, - NvimTreeLspDiagnosticsHint = { fg = palette.hint_blue }, - NvimTreeLspDiagnosticsInformation = { fg = palette.info_yellow }, - NvimTreeLspDiagnosticsWarning = { fg = palette.warning_orange }, - } -end - -return M diff --git a/lua/no-clown-fiesta/statusline.lua b/lua/no-clown-fiesta/statusline.lua deleted file mode 100644 index 0ca1d1d..0000000 --- a/lua/no-clown-fiesta/statusline.lua +++ /dev/null @@ -1,13 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - StatusLine = { fg = palette.bg, bg = palette.gray }, - StatusLineNC = { fg = palette.bg, bg = palette.gray }, - StatusLineSeparator = { fg = palette.bg }, - StatusLineTerm = { fg = palette.bg }, - StatusLineTermNC = { fg = palette.bg }, - } -end - -return M diff --git a/lua/no-clown-fiesta/telescope.lua b/lua/no-clown-fiesta/telescope.lua deleted file mode 100644 index d81da87..0000000 --- a/lua/no-clown-fiesta/telescope.lua +++ /dev/null @@ -1,12 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - TelescopeNormal = { fg = palette.fg, bg = palette.bg }, - TelescopeSelection = { fg = palette.fg, bg = palette.accent }, - TelescopeMatching = { fg = palette.info_yellow, style = "bold" }, - TelescopeBorder = { fg = palette.medium_gray, bg = palette.bg }, - } -end - -return M diff --git a/lua/no-clown-fiesta/treesitter.lua b/lua/no-clown-fiesta/treesitter.lua deleted file mode 100644 index 665ac8a..0000000 --- a/lua/no-clown-fiesta/treesitter.lua +++ /dev/null @@ -1,60 +0,0 @@ -local M = {} - -function M.highlight(palette, opts) - return { - TSComment = { fg = palette.medium_gray, style = opts.comments }, - TSAnnotation = { fg = palette.white }, - TSAttribute = { fg = palette.white }, - TSConstructor = { fg = palette.white }, - TSType = { fg = palette.white, style = opts.type }, - TSTypeBuiltin = { fg = palette.white }, - TSConditional = { fg = palette.gray_blue }, - TSException = { fg = palette.red }, - TSInclude = { fg = palette.red }, - TSKeyword = { fg = palette.gray_blue, style = opts.keywords }, - TSKeywordFunction = { fg = palette.gray_blue, style = opts.keywords }, - TSLabel = { fg = palette.white }, - TSNamespace = { fg = palette.white }, - TSRepeat = { fg = palette.gray_blue }, - TSConstant = { fg = palette.white }, - TSConstBuiltin = { fg = palette.red }, - TSFloat = { fg = palette.red }, - TSNumber = { fg = palette.red }, - TSBoolean = { fg = palette.red }, - TSCharacter = { fg = palette.light_green }, - TSError = { fg = palette.error_red }, - TSFunction = { fg = palette.cyan, style = opts.functions }, - TSFuncBuiltin = { fg = palette.cyan }, - TSMethod = { fg = palette.cyan }, - TSConstMacro = { fg = palette.cyan }, - TSFuncMacro = { fg = palette.cyan }, - TSVariable = { fg = palette.white, style = opts.variables }, - TSVariableBuiltin = { fg = palette.white }, - TSProperty = { fg = palette.white }, - TSOperator = { fg = palette.white }, - TSField = { fg = palette.white }, - TSParameter = { fg = palette.white }, - TSParameterReference = { fg = palette.white }, - TSSymbol = { fg = palette.medium_gray }, - TSText = { fg = palette.fg }, - TSPunctDelimiter = { fg = palette.white }, - TSTagDelimiter = { fg = palette.white }, - TSPunctBracket = { fg = palette.white }, - TSPunctSpecial = { fg = palette.medium_gray }, - TSString = { fg = palette.medium_gray_blue }, - TSStringRegex = { fg = palette.medium_gray_blue }, - TSStringEscape = { fg = palette.medium_gray_blue }, - TSTag = { fg = palette.pale_purple }, - TSEmphasis = { style = "italic" }, - TSUnderline = { style = "underline" }, - TSTitle = { fg = palette.medium_gray }, - TSLiteral = { fg = palette.medium_gray }, - TSURI = { fg = palette.cyan, style = "underline" }, - TSKeywordOperator = { fg = palette.gray_blue }, - TSStructure = { fg = palette.purple_test }, - TSStrong = { fg = palette.medium_gray }, - TSQueryLinterError = { fg = palette.warning_orange }, - } -end - -return M diff --git a/lua/no-clown-fiesta/whichkey.lua b/lua/no-clown-fiesta/whichkey.lua deleted file mode 100644 index 66ac153..0000000 --- a/lua/no-clown-fiesta/whichkey.lua +++ /dev/null @@ -1,13 +0,0 @@ -local M = {} - -function M.highlight(palette) - return { - WhichKey = { fg = palette.light_gray }, - WhichKeySeperator = { fg = palette.gray }, - WhichKeyGroup = { fg = palette.red }, - WhichKeyDesc = { fg = palette.light_gray }, - WhichKeyFloat = { bg = palette.bg }, - } -end - -return M -- cgit v1.2.3-70-g09d2