Skip to content

Commit

Permalink
feat(markdown): fix checkboxes in wezterm
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz committed Aug 13, 2024
1 parent 79760b6 commit ce23c5e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions lua/plugins/markdown_plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ return {

checkbox = {
custom = {
wait = { raw = "[-]", rendered = "󰥔", highlight = "RenderMarkdownTodo" },
prio = { raw = "[!]", rendered = "󰄱", highlight = "DiagnosticError" }, -- high priority
done = { raw = "[x]", rendered = "󰄲", highlight = "DiagnosticOk" }, -- nf-md-checkbox_marked
yes = { raw = "[y]", rendered = "󰄲", highlight = "DiagnosticOk" }, -- nf-md-checkbox_marked
later = { raw = "[>]", rendered = "󰒊", highlight = "DiagnosticInfo" }, -- nf-md-send
sched = { raw = "[<]", rendered = "󰃰", highlight = "DiagnosticInfo" }, -- nf-md-calendar_clock
cancel = { raw = "[~]", rendered = "󰂭", highlight = "Comment" },
info = { raw = "[i]", rendered = "󰋼", highlight = "DiagnosticInfo" }, -- nf-md-information
idea = { raw = "[I]", rendered = "󰌵", highlight = "DiagnosticWarn" }, -- nf-md-lightbulb
pro = { raw = "[p]", rendered = "󰔓", highlight = "DiagnosticOk" }, -- nf-md-thumb_up
con = { raw = "[c]", rendered = "󰔑", highlight = "DiagnosticError" }, -- nf-md-thumb_down
star = { raw = "[s]", rendered = "󰓎", highlight = "DiagnosticWarn" }, -- nf-md-star (asterisk * doesn't work)
star2 = { raw = "[*]", rendered = "󰓎", highlight = "DiagnosticWarn" }, -- nf-md-star (asterisk * doesn't work)
half = { raw = "[/]", rendered = "󰿦", highlight = "DiagnosticWarn" }, -- in progress, nf-md-texture_box
wait = { raw = "[-]", rendered = "󰥔 ", highlight = "RenderMarkdownTodo" },
prio = { raw = "[!]", rendered = "󰄱 ", highlight = "DiagnosticError" }, -- high priority
done = { raw = "[x]", rendered = "󰄲 ", highlight = "DiagnosticOk" }, -- nf-md-checkbox_marked
yes = { raw = "[y]", rendered = "󰄲 ", highlight = "DiagnosticOk" }, -- nf-md-checkbox_marked
later = { raw = "[>]", rendered = "󰒊 ", highlight = "DiagnosticInfo" }, -- nf-md-send
sched = { raw = "[<]", rendered = "󰃰 ", highlight = "DiagnosticInfo" }, -- nf-md-calendar_clock
cancel = { raw = "[~]", rendered = "󰂭 ", highlight = "Comment" },
info = { raw = "[i]", rendered = "󰋼 ", highlight = "DiagnosticInfo" }, -- nf-md-information
idea = { raw = "[I]", rendered = "󰌵 ", highlight = "DiagnosticWarn" }, -- nf-md-lightbulb
pro = { raw = "[p]", rendered = "󰔓 ", highlight = "DiagnosticOk" }, -- nf-md-thumb_up
con = { raw = "[c]", rendered = "󰔑 ", highlight = "DiagnosticError" }, -- nf-md-thumb_down
star = { raw = "[s]", rendered = "󰓎 ", highlight = "DiagnosticWarn" }, -- nf-md-star (asterisk * doesn't work)
star2 = { raw = "[*]", rendered = "󰓎 ", highlight = "DiagnosticWarn" }, -- nf-md-star (asterisk * doesn't work)
half = { raw = "[/]", rendered = "󰿦 ", highlight = "DiagnosticWarn" }, -- in progress, nf-md-texture_box
},
},

Expand All @@ -64,9 +64,9 @@ return {
-- RenderMarkdownSuccess - green
-- RenderMarkdownInfo - blue
-- RenderMarkdownError - red
highlights = { raw = "[!HIGHLIGHTS]", rendered = "󰌶 Highlights", highlight = "RenderMarkdownHint" },
tldr = { raw = "[!TLDR]", rendered = "󰌶 TLDR", highlight = "RenderMarkdownHint" },
summary = { raw = "[!SUMMARY]", rendered = "󰌶 Summary", highlight = "RenderMarkdownHint" },
highlights = { raw = "[!HIGHLIGHTS]", rendered = "󰌶 Highlights ", highlight = "RenderMarkdownHint" },
tldr = { raw = "[!TLDR]", rendered = "󰌶 TLDR ", highlight = "RenderMarkdownHint" },
summary = { raw = "[!SUMMARY]", rendered = "󰌶 Summary ", highlight = "RenderMarkdownHint" },
},
}
end,
Expand Down

0 comments on commit ce23c5e

Please sign in to comment.