summaryrefslogtreecommitdiff
path: root/lua/plugins/headlines.lua
blob: 97d2c7f8e4bfd03fdb4b92f173cef71d05a4d8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 = "🬂",
    },
  },
}