Skip to content

Commit 9961f01

Browse files
authored
Use better default callout icons (#37)
1 parent 0adb35c commit 9961f01

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

lua/render-markdown/init.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,11 @@ M.default_config = {
139139
quote = '',
140140
-- Symbol / text to use for different callouts
141141
callout = {
142-
note = ' Note',
143-
tip = ' Tip',
144-
important = '󰅾 Important',
145-
warning = ' Warning',
146-
caution = '󰳦 Caution',
142+
note = '󰋽 Note',
143+
tip = '󰌶 Tip',
144+
important = '󰅾 Important',
145+
warning = '󰀪 Warning',
146+
caution = '󰳦 Caution',
147147
},
148148
-- Window options to use that change between rendered and raw view
149149
win_options = {

tests/init_spec.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ async_tests.describe('init', function()
424424
{
425425
row = { 2, 2 },
426426
col = { 2, 9 },
427-
virt_text = { { ' Note', 'DiagnosticInfo' } },
427+
virt_text = { { '󰋽 Note', 'DiagnosticInfo' } },
428428
virt_text_pos = 'overlay',
429429
},
430430
-- Quote continued
@@ -458,7 +458,7 @@ async_tests.describe('init', function()
458458
{
459459
row = { 7, 7 },
460460
col = { 2, 8 },
461-
virt_text = { { ' Tip', 'DiagnosticOk' } },
461+
virt_text = { { '󰌶 Tip', 'DiagnosticOk' } },
462462
virt_text_pos = 'overlay',
463463
},
464464
-- Quote continued
@@ -492,7 +492,7 @@ async_tests.describe('init', function()
492492
{
493493
row = { 12, 12 },
494494
col = { 2, 14 },
495-
virt_text = { { '󰅾 Important', 'DiagnosticHint' } },
495+
virt_text = { { '󰅾 Important', 'DiagnosticHint' } },
496496
virt_text_pos = 'overlay',
497497
},
498498
-- Quote continued
@@ -526,7 +526,7 @@ async_tests.describe('init', function()
526526
{
527527
row = { 17, 17 },
528528
col = { 2, 12 },
529-
virt_text = { { ' Warning', 'DiagnosticWarn' } },
529+
virt_text = { { '󰀪 Warning', 'DiagnosticWarn' } },
530530
virt_text_pos = 'overlay',
531531
},
532532
-- Quote continued
@@ -560,7 +560,7 @@ async_tests.describe('init', function()
560560
{
561561
row = { 22, 22 },
562562
col = { 2, 12 },
563-
virt_text = { { '󰳦 Caution', 'DiagnosticError' } },
563+
virt_text = { { '󰳦 Caution', 'DiagnosticError' } },
564564
virt_text_pos = 'overlay',
565565
},
566566
-- Quote continued

0 commit comments

Comments
 (0)