summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-14 21:35:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-14 21:35:43 +0100
commit2191de3666608e3eef2713771d8582c11c73e379 (patch)
treee36fe33f921da05e5a778e3c341c2b90087315ca
parent49daed66509b9c5850f42ed9188a363cdd5bc5b1 (diff)
Format with stylua
-rw-r--r--lua/no-clown-fiesta/Git.lua12
-rw-r--r--lua/no-clown-fiesta/LSP.lua176
-rw-r--r--lua/no-clown-fiesta/Treesitter.lua104
-rw-r--r--lua/no-clown-fiesta/Whichkey.lua10
-rw-r--r--lua/no-clown-fiesta/config.lua24
-rw-r--r--lua/no-clown-fiesta/init.lua46
-rw-r--r--lua/no-clown-fiesta/markdown.lua46
-rw-r--r--lua/no-clown-fiesta/palette.lua58
-rw-r--r--lua/no-clown-fiesta/util.lua28
9 files changed, 252 insertions, 252 deletions
diff --git a/lua/no-clown-fiesta/Git.lua b/lua/no-clown-fiesta/Git.lua
index b47ccf2..a7197b8 100644
--- a/lua/no-clown-fiesta/Git.lua
+++ b/lua/no-clown-fiesta/Git.lua
@@ -1,10 +1,10 @@
local Git = {
- SignAdd = { fg = C.sign_add },
- SignChange = { fg = C.sign_change },
- SignDelete = { fg = C.sign_delete },
- GitSignsAdd = { fg = C.sign_add },
- GitSignsChange = { fg = C.sign_change },
- GitSignsDelete = { fg = C.sign_delete },
+ SignAdd = { fg = C.sign_add },
+ SignChange = { fg = C.sign_change },
+ SignDelete = { fg = C.sign_delete },
+ GitSignsAdd = { fg = C.sign_add },
+ GitSignsChange = { fg = C.sign_change },
+ GitSignsDelete = { fg = C.sign_delete },
}
return Git
diff --git a/lua/no-clown-fiesta/LSP.lua b/lua/no-clown-fiesta/LSP.lua
index 85d0d7e..5816128 100644
--- a/lua/no-clown-fiesta/LSP.lua
+++ b/lua/no-clown-fiesta/LSP.lua
@@ -1,92 +1,92 @@
local LSP = {
- LspDiagnosticsDefaultError = { fg = C.error_red },
- LspDiagnosticsDefaultWarning = { fg = C.warning_orange },
- LspDiagnosticsDefaultInformation = { fg = C.info_yellow },
- LspDiagnosticsDefaultHint = { fg = C.hint_blue },
- LspDiagnosticsVirtualTextError = { fg = C.error_red },
- LspDiagnosticsVirtualTextWarning = { fg = C.warning_orange },
- LspDiagnosticsVirtualTextInformation = { fg = C.info_yellow },
- LspDiagnosticsVirtualTextHint = { fg = C.hint_blue },
- LspDiagnosticsFloatingError = { fg = C.error_red },
- LspDiagnosticsFloatingWarning = { fg = C.warning_orange },
- LspDiagnosticsFloatingInformation = { fg = C.info_yellow },
- LspDiagnosticsFloatingHint = { fg = C.hint_blue },
- LspDiagnosticsSignError = { fg = C.error_red },
- LspDiagnosticsSignWarning = { fg = C.warning_orange },
- LspDiagnosticsSignInformation = { fg = C.info_yellow },
- LspDiagnosticsSignHint = { fg = C.hint_blue },
- LspDiagnosticsError = { fg = C.error_red },
- LspDiagnosticsWarning = { fg = C.warning_orange },
- LspDiagnosticsInformation = { fg = C.info_yellow },
- LspDiagnosticsHint = { fg = C.hint_blue },
- LspDiagnosticsUnderlineError = { fg = C.error_red },
- LspDiagnosticsUnderlineWarning = { fg = C.warning_orange },
- LspDiagnosticsUnderlineInformation = { fg = C.info_yellow },
- LspDiagnosticsUnderlineHint = { fg = C.hint_blue },
- QuickScopePrimary = { fg = C.cyan_test, style = "underline" },
- QuickScopeSecondary = { fg = C.purple_test, style = "underline" },
- TelescopeSelection = { fg = C.hint_blue },
- TelescopeMatching = { fg = C.info_yellow, style = "bold" },
- TelescopeBorder = { fg = C.gray, bg = C.bg },
- NvimTreeFolderIcon = { fg = C.blue },
- NvimTreeIndentMarker = { fg = C.gray },
- NvimTreeNormal = { fg = C.light_gray, bg = C.alt_bg },
- NvimTreeVertSplit = { fg = C.alt_bg, bg = C.alt_bg },
- NvimTreeFolderName = { fg = C.blue },
- NvimTreeOpenedFolderName = { fg = C.cyan, style = "italic" },
- NvimTreeImageFile = { fg = C.purple },
- NvimTreeSpecialFile = { fg = C.orange },
- NvimTreeGitStaged = { fg = C.sign_add },
- NvimTreeGitNew = { fg = C.sign_add },
- NvimTreeGitDirty = { fg = C.sign_add },
- NvimTreeGitDeleted = { fg = C.sign_delete },
- NvimTreeGitMerge = { fg = C.sign_change },
- NvimTreeGitRenamed = { fg = C.sign_change },
- NvimTreeSymlink = { fg = C.cyan },
- NvimTreeRootFolder = { fg = C.fg, style = "bold" },
- NvimTreeExecFile = { fg = C.green },
- BufferCurrent = { fg = C.fg, bg = C.bg },
- BufferCurrentIndex = { fg = C.fg, bg = C.bg },
- BufferCurrentMod = { fg = C.info_yellow, bg = C.bg },
- BufferCurrentSign = { fg = C.hint_blue, bg = C.bg },
- BufferCurrentTarget = { fg = C.red, bg = C.bg, style = "bold" },
- BufferVisible = { fg = C.fg, bg = C.bg },
- BufferVisibleIndex = { fg = C.fg, bg = C.bg },
- BufferVisibleMod = { fg = C.info_yellow, bg = C.bg },
- BufferVisibleSign = { fg = C.hint_blue, bg = C.bg },
- BufferVisibleTarget = { fg = C.red, bg = C.bg, style = "bold" },
- BufferInactive = { fg = C.gray, bg = C.alt_bg },
- BufferInactiveIndex = { fg = C.gray, bg = C.alt_bg },
- BufferInactiveMod = { fg = C.info_yellow, bg = C.alt_bg },
- BufferInactiveSign = { fg = C.gray, bg = C.alt_bg },
- BufferInactiveTarget = { fg = C.red, bg = C.alt_bg, style = "bold" },
- StatusLine = { fg = C.alt_bg },
- StatusLineNC = { fg = C.alt_bg },
- StatusLineSeparator = { fg = C.alt_bg },
- StatusLineTerm = { fg = C.alt_bg },
- StatusLineTermNC = { fg = C.alt_bg },
- CodiVirtualText = { fg = C.pale_purple },
- IndentBlanklineContextChar = { fg = C.accent },
- DashboardHeader = { fg = C.blue },
- DashboardCenter = { fg = C.white },
- DashboardFooter = { fg = C.gray },
- CompeDocumentation = { bg = C.alt_bg },
- DiffViewNormal = { fg = C.gray, bg = C.alt_bg },
- DiffviewStatusAdded = { fg = C.sign_add },
- DiffviewStatusModified = { fg = C.sign_change },
- DiffviewStatusRenamed = { fg = C.sign_change },
- DiffviewStatusDeleted = { fg = C.sign_delete },
- DiffviewFilePanelInsertion = { fg = C.sign_add },
- DiffviewFilePanelDeletion = { fg = C.sign_delete },
- DiffviewVertSplit = { bg = C.bg },
- diffAdded = { fg = C.sign_add },
- diffRemoved = { fg = C.sign_delete },
- diffFileId = { fg = C.blue, style = "bold,reverse" },
- diffFile = { fg = C.alt_bg },
- diffNewFile = { fg = C.green },
- diffOldFile = { fg = C.red },
- debugPc = { bg = C.cyan },
- debugBreakpoint = { fg = C.red, style = "reverse" },
+ LspDiagnosticsDefaultError = { fg = C.error_red },
+ LspDiagnosticsDefaultWarning = { fg = C.warning_orange },
+ LspDiagnosticsDefaultInformation = { fg = C.info_yellow },
+ LspDiagnosticsDefaultHint = { fg = C.hint_blue },
+ LspDiagnosticsVirtualTextError = { fg = C.error_red },
+ LspDiagnosticsVirtualTextWarning = { fg = C.warning_orange },
+ LspDiagnosticsVirtualTextInformation = { fg = C.info_yellow },
+ LspDiagnosticsVirtualTextHint = { fg = C.hint_blue },
+ LspDiagnosticsFloatingError = { fg = C.error_red },
+ LspDiagnosticsFloatingWarning = { fg = C.warning_orange },
+ LspDiagnosticsFloatingInformation = { fg = C.info_yellow },
+ LspDiagnosticsFloatingHint = { fg = C.hint_blue },
+ LspDiagnosticsSignError = { fg = C.error_red },
+ LspDiagnosticsSignWarning = { fg = C.warning_orange },
+ LspDiagnosticsSignInformation = { fg = C.info_yellow },
+ LspDiagnosticsSignHint = { fg = C.hint_blue },
+ LspDiagnosticsError = { fg = C.error_red },
+ LspDiagnosticsWarning = { fg = C.warning_orange },
+ LspDiagnosticsInformation = { fg = C.info_yellow },
+ LspDiagnosticsHint = { fg = C.hint_blue },
+ LspDiagnosticsUnderlineError = { fg = C.error_red },
+ LspDiagnosticsUnderlineWarning = { fg = C.warning_orange },
+ LspDiagnosticsUnderlineInformation = { fg = C.info_yellow },
+ LspDiagnosticsUnderlineHint = { fg = C.hint_blue },
+ QuickScopePrimary = { fg = C.cyan_test, style = "underline" },
+ QuickScopeSecondary = { fg = C.purple_test, style = "underline" },
+ TelescopeSelection = { fg = C.hint_blue },
+ TelescopeMatching = { fg = C.info_yellow, style = "bold" },
+ TelescopeBorder = { fg = C.gray, bg = C.bg },
+ NvimTreeFolderIcon = { fg = C.blue },
+ NvimTreeIndentMarker = { fg = C.gray },
+ NvimTreeNormal = { fg = C.light_gray, bg = C.alt_bg },
+ NvimTreeVertSplit = { fg = C.alt_bg, bg = C.alt_bg },
+ NvimTreeFolderName = { fg = C.blue },
+ NvimTreeOpenedFolderName = { fg = C.cyan, style = "italic" },
+ NvimTreeImageFile = { fg = C.purple },
+ NvimTreeSpecialFile = { fg = C.orange },
+ NvimTreeGitStaged = { fg = C.sign_add },
+ NvimTreeGitNew = { fg = C.sign_add },
+ NvimTreeGitDirty = { fg = C.sign_add },
+ NvimTreeGitDeleted = { fg = C.sign_delete },
+ NvimTreeGitMerge = { fg = C.sign_change },
+ NvimTreeGitRenamed = { fg = C.sign_change },
+ NvimTreeSymlink = { fg = C.cyan },
+ NvimTreeRootFolder = { fg = C.fg, style = "bold" },
+ NvimTreeExecFile = { fg = C.green },
+ BufferCurrent = { fg = C.fg, bg = C.bg },
+ BufferCurrentIndex = { fg = C.fg, bg = C.bg },
+ BufferCurrentMod = { fg = C.info_yellow, bg = C.bg },
+ BufferCurrentSign = { fg = C.hint_blue, bg = C.bg },
+ BufferCurrentTarget = { fg = C.red, bg = C.bg, style = "bold" },
+ BufferVisible = { fg = C.fg, bg = C.bg },
+ BufferVisibleIndex = { fg = C.fg, bg = C.bg },
+ BufferVisibleMod = { fg = C.info_yellow, bg = C.bg },
+ BufferVisibleSign = { fg = C.hint_blue, bg = C.bg },
+ BufferVisibleTarget = { fg = C.red, bg = C.bg, style = "bold" },
+ BufferInactive = { fg = C.gray, bg = C.alt_bg },
+ BufferInactiveIndex = { fg = C.gray, bg = C.alt_bg },
+ BufferInactiveMod = { fg = C.info_yellow, bg = C.alt_bg },
+ BufferInactiveSign = { fg = C.gray, bg = C.alt_bg },
+ BufferInactiveTarget = { fg = C.red, bg = C.alt_bg, style = "bold" },
+ StatusLine = { fg = C.alt_bg },
+ StatusLineNC = { fg = C.alt_bg },
+ StatusLineSeparator = { fg = C.alt_bg },
+ StatusLineTerm = { fg = C.alt_bg },
+ StatusLineTermNC = { fg = C.alt_bg },
+ CodiVirtualText = { fg = C.pale_purple },
+ IndentBlanklineContextChar = { fg = C.accent },
+ DashboardHeader = { fg = C.blue },
+ DashboardCenter = { fg = C.white },
+ DashboardFooter = { fg = C.gray },
+ CompeDocumentation = { bg = C.alt_bg },
+ DiffViewNormal = { fg = C.gray, bg = C.alt_bg },
+ DiffviewStatusAdded = { fg = C.sign_add },
+ DiffviewStatusModified = { fg = C.sign_change },
+ DiffviewStatusRenamed = { fg = C.sign_change },
+ DiffviewStatusDeleted = { fg = C.sign_delete },
+ DiffviewFilePanelInsertion = { fg = C.sign_add },
+ DiffviewFilePanelDeletion = { fg = C.sign_delete },
+ DiffviewVertSplit = { bg = C.bg },
+ diffAdded = { fg = C.sign_add },
+ diffRemoved = { fg = C.sign_delete },
+ diffFileId = { fg = C.blue, style = "bold,reverse" },
+ diffFile = { fg = C.alt_bg },
+ diffNewFile = { fg = C.green },
+ diffOldFile = { fg = C.red },
+ debugPc = { bg = C.cyan },
+ debugBreakpoint = { fg = C.red, style = "reverse" },
}
return LSP
diff --git a/lua/no-clown-fiesta/Treesitter.lua b/lua/no-clown-fiesta/Treesitter.lua
index da9482d..2e6d804 100644
--- a/lua/no-clown-fiesta/Treesitter.lua
+++ b/lua/no-clown-fiesta/Treesitter.lua
@@ -1,56 +1,56 @@
local Treesitter = {
- TSComment = { fg = C.gray },
- TSAnnotation = { fg = C.white },
- TSAttribute = { fg = C.white },
- TSConstructor = { fg = C.white },
- TSType = { fg = C.orange },
- TSTypeBuiltin = { fg = C.white },
- TSConditional = { fg = C.red },
- TSException = { fg = C.red },
- TSInclude = { fg = C.red },
- TSKeyword = { fg = C.red },
- TSKeywordFunction = { fg = C.red },
- TSLabel = { fg = C.white },
- TSNamespace = { fg = C.white },
- TSRepeat = { fg = C.red },
- TSConstant = { fg = C.orange },
- TSConstBuiltin = { fg = C.orange },
- TSFloat = { fg = C.blue },
- TSNumber = { fg = C.blue },
- TSBoolean = { fg = C.blue },
- TSCharacter = { fg = C.light_green },
- TSError = { fg = C.error_red },
- TSFunction = { fg = C.white },
- TSFuncBuiltin = { fg = C.white },
- TSMethod = { fg = C.white },
- TSConstMacro = { fg = C.white },
- TSFuncMacro = { fg = C.white },
- TSVariable = { fg = C.white },
- TSVariableBuiltin = { fg = C.white },
- TSProperty = { fg = C.white },
- TSOperator = { fg = C.white },
- TSField = { fg = C.white },
- TSParameter = { fg = C.white },
- TSParameterReference = { fg = C.white },
- TSSymbol = { fg = C.gray },
- TSText = { fg = C.fg },
- TSPunctDelimiter = { fg = C.white },
- TSTagDelimiter = { fg = C.white },
- TSPunctBracket = { fg = C.white },
- TSPunctSpecial = { fg = C.gray },
- TSString = { fg = C.gray },
- TSStringRegex = { fg = C.gray },
- TSStringEscape = { fg = C.gray },
- TSTag = { fg = C.pale_purple },
- TSEmphasis = { style = "italic" },
- TSUnderline = { style = "underline" },
- TSTitle = { fg = C.gray },
- TSLiteral = { fg = C.gray },
- TSURI = { fg = C.cyan, style = "underline" },
- TSKeywordOperator = { fg = C.gray },
- TSStructure = { fg = C.purple_test },
- TSStrong = { fg = C.gray },
- TSQueryLinterError = { fg = C.warning_orange },
+ TSComment = { fg = C.gray },
+ TSAnnotation = { fg = C.white },
+ TSAttribute = { fg = C.white },
+ TSConstructor = { fg = C.white },
+ TSType = { fg = C.orange },
+ TSTypeBuiltin = { fg = C.white },
+ TSConditional = { fg = C.red },
+ TSException = { fg = C.red },
+ TSInclude = { fg = C.red },
+ TSKeyword = { fg = C.red },
+ TSKeywordFunction = { fg = C.red },
+ TSLabel = { fg = C.white },
+ TSNamespace = { fg = C.white },
+ TSRepeat = { fg = C.red },
+ TSConstant = { fg = C.orange },
+ TSConstBuiltin = { fg = C.orange },
+ TSFloat = { fg = C.blue },
+ TSNumber = { fg = C.blue },
+ TSBoolean = { fg = C.blue },
+ TSCharacter = { fg = C.light_green },
+ TSError = { fg = C.error_red },
+ TSFunction = { fg = C.white },
+ TSFuncBuiltin = { fg = C.white },
+ TSMethod = { fg = C.white },
+ TSConstMacro = { fg = C.white },
+ TSFuncMacro = { fg = C.white },
+ TSVariable = { fg = C.white },
+ TSVariableBuiltin = { fg = C.white },
+ TSProperty = { fg = C.white },
+ TSOperator = { fg = C.white },
+ TSField = { fg = C.white },
+ TSParameter = { fg = C.white },
+ TSParameterReference = { fg = C.white },
+ TSSymbol = { fg = C.gray },
+ TSText = { fg = C.fg },
+ TSPunctDelimiter = { fg = C.white },
+ TSTagDelimiter = { fg = C.white },
+ TSPunctBracket = { fg = C.white },
+ TSPunctSpecial = { fg = C.gray },
+ TSString = { fg = C.gray },
+ TSStringRegex = { fg = C.gray },
+ TSStringEscape = { fg = C.gray },
+ TSTag = { fg = C.pale_purple },
+ TSEmphasis = { style = "italic" },
+ TSUnderline = { style = "underline" },
+ TSTitle = { fg = C.gray },
+ TSLiteral = { fg = C.gray },
+ TSURI = { fg = C.cyan, style = "underline" },
+ TSKeywordOperator = { fg = C.gray },
+ TSStructure = { fg = C.purple_test },
+ TSStrong = { fg = C.gray },
+ TSQueryLinterError = { fg = C.warning_orange },
}
return Treesitter
diff --git a/lua/no-clown-fiesta/Whichkey.lua b/lua/no-clown-fiesta/Whichkey.lua
index 9b9fb60..535f4d4 100644
--- a/lua/no-clown-fiesta/Whichkey.lua
+++ b/lua/no-clown-fiesta/Whichkey.lua
@@ -1,9 +1,9 @@
local Whichkey = {
- WhichKey = { fg = C.light_gray },
- WhichKeySeperator = { fg = C.gray },
- WhichKeyGroup = { fg = C.yellow },
- WhichKeyDesc = { fg = C.light_gray },
- WhichKeyFloat = { bg = C.bg },
+ WhichKey = { fg = C.light_gray },
+ WhichKeySeperator = { fg = C.gray },
+ WhichKeyGroup = { fg = C.yellow },
+ WhichKeyDesc = { fg = C.light_gray },
+ WhichKeyFloat = { bg = C.bg },
}
return Whichkey
diff --git a/lua/no-clown-fiesta/config.lua b/lua/no-clown-fiesta/config.lua
index ebac710..3055846 100644
--- a/lua/no-clown-fiesta/config.lua
+++ b/lua/no-clown-fiesta/config.lua
@@ -3,21 +3,21 @@ local config
vim = vim or { g = {}, o = {} }
local function opt(key, default)
- if vim.g[key] == nil then
- return default
- end
- if vim.g[key] == 0 then
- return false
- end
- return vim.g[key]
+ if vim.g[key] == nil then
+ return default
+ end
+ if vim.g[key] == 0 then
+ return false
+ end
+ return vim.g[key]
end
config = {
- transparent_background = opt("transparent_background", false),
- italic_comments = opt("italic_keywords", true) and "italic" or "NONE",
- italic_keywords = opt("italic_keywords", true) and "italic" or "NONE",
- italic_functions = opt("italic_function", false) and "italic" or "NONE",
- italic_variables = opt("italic_variables", true) and "italic" or "NONE",
+ transparent_background = opt("transparent_background", false),
+ italic_comments = opt("italic_keywords", true) and "italic" or "NONE",
+ italic_keywords = opt("italic_keywords", true) and "italic" or "NONE",
+ italic_functions = opt("italic_function", false) and "italic" or "NONE",
+ italic_variables = opt("italic_variables", true) and "italic" or "NONE",
}
return config
diff --git a/lua/no-clown-fiesta/init.lua b/lua/no-clown-fiesta/init.lua
index 08eb084..4f02772 100644
--- a/lua/no-clown-fiesta/init.lua
+++ b/lua/no-clown-fiesta/init.lua
@@ -1,35 +1,35 @@
-vim.api.nvim_command "hi clear"
-if vim.fn.exists "syntax_on" then
- vim.api.nvim_command "syntax reset"
+vim.api.nvim_command("hi clear")
+if vim.fn.exists("syntax_on") then
+ vim.api.nvim_command("syntax reset")
end
vim.o.background = "dark"
vim.o.termguicolors = true
vim.g.colors_name = "no-clown-fiesta"
-local util = require "no-clown-fiesta.util"
-Config = require "no-clown-fiesta.config"
-C = require "no-clown-fiesta.palette"
+local util = require("no-clown-fiesta.util")
+Config = require("no-clown-fiesta.config")
+C = require("no-clown-fiesta.palette")
-local Buffer = require "no-clown-fiesta.Buffer"
-local Alpha = require "no-clown-fiesta.Alpha"
-local Git = require "no-clown-fiesta.Git"
-local highlights = require "no-clown-fiesta.highlights"
-local LSP = require "no-clown-fiesta.LSP"
-local markdown = require "no-clown-fiesta.markdown"
-local Treesitter = require "no-clown-fiesta.Treesitter"
-local Whichkey = require "no-clown-fiesta.Whichkey"
+local Buffer = require("no-clown-fiesta.Buffer")
+local Alpha = require("no-clown-fiesta.Alpha")
+local Git = require("no-clown-fiesta.Git")
+local highlights = require("no-clown-fiesta.highlights")
+local LSP = require("no-clown-fiesta.LSP")
+local markdown = require("no-clown-fiesta.markdown")
+local Treesitter = require("no-clown-fiesta.Treesitter")
+local Whichkey = require("no-clown-fiesta.Whichkey")
local skeletons = {
- Buffer,
- Alpha,
- Git,
- highlights,
- markdown,
- LSP,
- Treesitter,
- Whichkey,
+ Buffer,
+ Alpha,
+ Git,
+ highlights,
+ markdown,
+ LSP,
+ Treesitter,
+ Whichkey,
}
for _, skeleton in ipairs(skeletons) do
- util.initialise(skeleton)
+ util.initialise(skeleton)
end
diff --git a/lua/no-clown-fiesta/markdown.lua b/lua/no-clown-fiesta/markdown.lua
index 2b83e05..c2e7436 100644
--- a/lua/no-clown-fiesta/markdown.lua
+++ b/lua/no-clown-fiesta/markdown.lua
@@ -1,27 +1,27 @@
local markdown = {
- markdownBlockquote = { fg = C.accent },
- markdownBold = { fg = C.yellow, style = "bold" },
- markdownCode = { fg = C.green },
- markdownCodeBlock = { fg = C.green },
- markdownCodeDelimiter = { fg = C.green },
- markdownH1 = { fg = C.blue },
- markdownH2 = { fg = C.blue },
- markdownH3 = { fg = C.blue },
- markdownH4 = { fg = C.blue },
- markdownH5 = { fg = C.blue },
- markdownH6 = { fg = C.blue },
- markdownHeadingDelimiter = { fg = C.red },
- markdownHeadingRule = { fg = C.accent },
- markdownId = { fg = C.purple },
- markdownIdDeclaration = { fg = C.blue },
- markdownIdDelimiter = { fg = C.light_gray },
- markdownLinkDelimiter = { fg = C.light_gray },
- markdownItalic = { style = "italic" },
- markdownLinkText = { fg = C.blue },
- markdownListMarker = { fg = C.red },
- markdownOrderedListMarker = { fg = C.red },
- markdownRule = { fg = C.accent },
- markdownUrl = { fg = C.cyan, style = "underline" },
+ markdownBlockquote = { fg = C.accent },
+ markdownBold = { fg = C.yellow, style = "bold" },
+ markdownCode = { fg = C.green },
+ markdownCodeBlock = { fg = C.green },
+ markdownCodeDelimiter = { fg = C.green },
+ markdownH1 = { fg = C.blue },
+ markdownH2 = { fg = C.blue },
+ markdownH3 = { fg = C.blue },
+ markdownH4 = { fg = C.blue },
+ markdownH5 = { fg = C.blue },
+ markdownH6 = { fg = C.blue },
+ markdownHeadingDelimiter = { fg = C.red },
+ markdownHeadingRule = { fg = C.accent },
+ markdownId = { fg = C.purple },
+ markdownIdDeclaration = { fg = C.blue },
+ markdownIdDelimiter = { fg = C.light_gray },
+ markdownLinkDelimiter = { fg = C.light_gray },
+ markdownItalic = { style = "italic" },
+ markdownLinkText = { fg = C.blue },
+ markdownListMarker = { fg = C.red },
+ markdownOrderedListMarker = { fg = C.red },
+ markdownRule = { fg = C.accent },
+ markdownUrl = { fg = C.cyan, style = "underline" },
}
return markdown
diff --git a/lua/no-clown-fiesta/palette.lua b/lua/no-clown-fiesta/palette.lua
index 92ff012..d5d5f95 100644
--- a/lua/no-clown-fiesta/palette.lua
+++ b/lua/no-clown-fiesta/palette.lua
@@ -1,33 +1,33 @@
local colors = {
- fg = "#F2F6F3",
- bg = "#151515",
- alt_bg = "#171717",
- accent = "#202020",
- white = "#F2F6F3",
- gray = "#606060",
- light_gray = "#D0D0D0",
- blue = "#A5D6FF",
- gray_blue = "#5F819D",
- cyan = "#75B5AA",
- red = "#CC6666",
- green = "#90A959",
- light_green = "#90A959",
- yellow = "#F4BF75",
- orange = "#FFA557",
- purple = "#AA749F",
- pale_purple = "#A5D6FF",
- magenta = "#AA759F",
- cursor_fg = "#D0D0D0",
- cursor_bg = "#151515",
- sign_add = "#A1B56C",
- sign_change = "#A5D6FF",
- sign_delete = "#AA4142",
- error_red = "#AC4142",
- warning_orange = "#F4BF75",
- info_yellow = "#F4BF75",
- hint_blue = "#A5D6FF",
- purple_test = "#ff00ff",
- cyan_test = "#00ffff",
+ fg = "#F2F6F3",
+ bg = "#151515",
+ alt_bg = "#171717",
+ accent = "#202020",
+ white = "#F2F6F3",
+ gray = "#606060",
+ light_gray = "#D0D0D0",
+ blue = "#A5D6FF",
+ gray_blue = "#5F819D",
+ cyan = "#75B5AA",
+ red = "#CC6666",
+ green = "#90A959",
+ light_green = "#90A959",
+ yellow = "#F4BF75",
+ orange = "#FFA557",
+ purple = "#AA749F",
+ pale_purple = "#A5D6FF",
+ magenta = "#AA759F",
+ cursor_fg = "#D0D0D0",
+ cursor_bg = "#151515",
+ sign_add = "#A1B56C",
+ sign_change = "#A5D6FF",
+ sign_delete = "#AA4142",
+ error_red = "#AC4142",
+ warning_orange = "#F4BF75",
+ info_yellow = "#F4BF75",
+ hint_blue = "#A5D6FF",
+ purple_test = "#ff00ff",
+ cyan_test = "#00ffff",
}
return colors
diff --git a/lua/no-clown-fiesta/util.lua b/lua/no-clown-fiesta/util.lua
index dbac18a..07f71a2 100644
--- a/lua/no-clown-fiesta/util.lua
+++ b/lua/no-clown-fiesta/util.lua
@@ -1,25 +1,25 @@
local M = {}
local function highlight(group, properties)
- local bg = properties.bg == nil and "" or "guibg=" .. properties.bg
- local fg = properties.fg == nil and "" or "guifg=" .. properties.fg
- local style = properties.style == nil and "" or "gui=" .. properties.style
+ local bg = properties.bg == nil and "" or "guibg=" .. properties.bg
+ local fg = properties.fg == nil and "" or "guifg=" .. properties.fg
+ local style = properties.style == nil and "" or "gui=" .. properties.style
- local cmd = table.concat({
- "highlight",
- group,
- bg,
- fg,
- style,
- }, " ")
+ local cmd = table.concat({
+ "highlight",
+ group,
+ bg,
+ fg,
+ style,
+ }, " ")
- vim.api.nvim_command(cmd)
+ vim.api.nvim_command(cmd)
end
function M.initialise(skeleton)
- for group, properties in pairs(skeleton) do
- highlight(group, properties)
- end
+ for group, properties in pairs(skeleton) do
+ highlight(group, properties)
+ end
end
return M