Skip to content

Commit 8787fdf

Browse files
Merge in changes from PR 9 (@lkhphuc)
## Details Merges in the default headings change from: #9 by @lkhphuc. By adding an extra space certains font / terminal configurations will be able to render a larger symbol. Configurations which cannot take advantage of the additional space will see no change.
1 parent 106946a commit 8787fdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ require('render-markdown').setup({
7979
-- modes will be uneffected by this plugin
8080
render_modes = { 'n', 'c' },
8181
-- Characters that will replace the # at the start of headings
82-
headings = { '󰲡', '󰲣', '󰲥', '󰲧', '󰲩', '󰲫' },
82+
headings = { '󰲡 ', '󰲣 ', '󰲥 ', '󰲧 ', '󰲩 ', '󰲫 ' },
8383
-- Character to use for the bullet point in lists
8484
bullet = '',
8585
-- Character that will replace the > at the start of block quotes

Diff for: lua/render-markdown/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function M.setup(opts)
5959
]],
6060
file_types = { 'markdown' },
6161
render_modes = { 'n', 'c' },
62-
headings = { '󰲡', '󰲣', '󰲥', '󰲧', '󰲩', '󰲫' },
62+
headings = { '󰲡 ', '󰲣 ', '󰲥 ', '󰲧 ', '󰲩 ', '󰲫 ' },
6363
bullet = '',
6464
quote = '',
6565
highlights = {

0 commit comments

Comments
 (0)