summaryrefslogtreecommitdiff
path: root/lua/plugins/headlines.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/headlines.lua')
-rw-r--r--lua/plugins/headlines.lua34
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 = "🬂",
+ },
+ },
+}