From 472303902ac0991d9d1f2e02ed2123e5fd2e11e3 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Thu, 19 Aug 2021 22:06:08 -0500 Subject: [PATCH] dev: added markdown integration --- lua/catppuccino/config.lua | 1 + lua/catppuccino/core/integrations/markdown.lua | 8 ++++++++ lua/catppuccino/core/mapper.lua | 7 ------- 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 lua/catppuccino/core/integrations/markdown.lua diff --git a/lua/catppuccino/config.lua b/lua/catppuccino/config.lua index 92c7102..b55a353 100644 --- a/lua/catppuccino/config.lua +++ b/lua/catppuccino/config.lua @@ -38,6 +38,7 @@ config.options = { fern = false, barbar = false, bufferline = false, + markdown = false, } } diff --git a/lua/catppuccino/core/integrations/markdown.lua b/lua/catppuccino/core/integrations/markdown.lua new file mode 100644 index 0000000..df23f3e --- /dev/null +++ b/lua/catppuccino/core/integrations/markdown.lua @@ -0,0 +1,8 @@ +return { + markdownHeadingDelimiter = {fg = cpt.orange, style = "bold"}, + markdownCode = {fg = cpt.cyan}, + markdownCodeBlock = {fg = cpt.cyan}, + markdownH1 = {fg = cpt.magenta, style = "bold"}, + markdownH2 = {fg = cpt.blue, style = "bold"}, + markdownLinkText = {fg = cpt.blue, style = "underline"} +} diff --git a/lua/catppuccino/core/mapper.lua b/lua/catppuccino/core/mapper.lua index bc418af..1b1d05f 100644 --- a/lua/catppuccino/core/mapper.lua +++ b/lua/catppuccino/core/mapper.lua @@ -122,15 +122,8 @@ local function get_base() mkdCodeEnd = {fg = cpt.cyan, style = "bold"}, -- mkdLink = { fg = cpt.blue, style = "underline" }, - markdownHeadingDelimiter = {fg = cpt.orange, style = "bold"}, - markdownCode = {fg = cpt.cyan}, - markdownCodeBlock = {fg = cpt.cyan}, - markdownH1 = {fg = cpt.magenta, style = "bold"}, - markdownH2 = {fg = cpt.blue, style = "bold"}, - markdownLinkText = {fg = cpt.blue, style = "underline"}, debugPC = {bg = cpt.bg_sidebar}, -- used for highlighting the current line in terminal-debug debugBreakpoint = {bg = util.darken(cpt.info, 0.1), fg = cpt.info}, -- used for breakpoint colors in terminal-debug - } end