diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2024-02-12 12:19:51 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2024-02-12 12:19:51 -0600 |
commit | 616b79bd3dd74d935defbb794bbcf5fc51fb8b24 (patch) | |
tree | 1b15528c21ceb54b88752e2f77d019e70f66fe5f /lua/plugins/headlines.lua | |
parent | b71c749fb6e550a0f6ec3b03bf6b46d2ce5f8712 (diff) |
feat: add md headlines, remove mdcodeblocks (not needed)
Diffstat (limited to 'lua/plugins/headlines.lua')
-rw-r--r-- | lua/plugins/headlines.lua | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lua/plugins/headlines.lua b/lua/plugins/headlines.lua new file mode 100644 index 0000000..97d2c7f --- /dev/null +++ b/lua/plugins/headlines.lua @@ -0,0 +1,34 @@ +return { + "lukas-reineke/headlines.nvim", + dependencies = "nvim-treesitter/nvim-treesitter", + opts = { + markdown = { + headline_highlights = { + "Headline1", + "Headline2", + "Headline3", + "Headline4", + "Headline5", + "Headline6", + }, + codeblock_highlight = "CodeBlock", + dash_highlight = "Dash", + quote_highlight = "Quote", + bullet_highlights = { + -- "@text.title.1.marker.markdown", + -- "@text.title.2.marker.markdown", + -- "@text.title.3.marker.markdown", + -- "@text.title.4.marker.markdown", + -- "@text.title.5.marker.markdown", + -- "@text.title.6.marker.markdown", + }, + bullets = {}, + -- bullets = { "◉", "○", "✸", "✿" }, + dash_string = "-", + quote_string = "┃", + fat_headlines = false, + fat_headline_upper_string = "▃", + fat_headline_lower_string = "🬂", + }, + }, +} |