From 616b79bd3dd74d935defbb794bbcf5fc51fb8b24 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Mon, 12 Feb 2024 12:19:51 -0600 Subject: feat: add md headlines, remove mdcodeblocks (not needed) --- lua/plugins/headlines.lua | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lua/plugins/headlines.lua (limited to 'lua/plugins/headlines.lua') 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 = "🬂", + }, + }, +} -- cgit v1.2.3-54-g00ecf