Skip to content

Commit

Permalink
perf(headlines): update config
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesChiuGit committed Jul 7, 2024
1 parent 67cbcad commit 9781097
Showing 1 changed file with 11 additions and 38 deletions.
49 changes: 11 additions & 38 deletions lua/modules/configs/lang/headlines.lua
Original file line number Diff line number Diff line change
@@ -1,51 +1,24 @@
return function()
require("headlines").setup({
markdown = {
headline_highlights = { "Headline1", "Headline2" },
codeblock_highlight = "CodeBlock",
dash_highlight = "Dash",
dash_string = "-",
quote_highlight = "Quote",
quote_string = "",
fat_headlines = true,
fat_headline_upper_string = "",
fat_headline_lower_string = "",
},
rmd = {
treesitter_language = "markdown",
headline_highlights = { "Headline1", "Headline2" },
codeblock_highlight = "CodeBlock",
dash_highlight = "Dash",
dash_string = "-",
quote_highlight = "Quote",
quote_string = "",
fat_headlines = true,
fat_headline_upper_string = "",
fat_headline_lower_string = "",
},
norg = {
headline_highlights = { "Headline1", "Headline2" },
codeblock_highlight = "CodeBlock",
dash_highlight = "Dash",
dash_string = "-",
doubledash_highlight = "DoubleDash",
doubledash_string = "=",
quote_highlight = "Quote",
quote_string = "",
fat_headlines = true,
fat_headline_upper_string = "",
fat_headline_lower_string = "",
},
org = {
headline_highlights = { "Headline1", "Headline2" },
codeblock_highlight = "CodeBlock",
dash_highlight = "Dash",
dash_string = "-",
quote_highlight = "Quote",
quote_string = "",
fat_headlines = true,
fat_headlines = false,
fat_headline_upper_string = "",
fat_headline_lower_string = "",
headline_highlights = {
"Headline1",
"Headline2",
"Headline3",
"Headline4",
"Headline5",
"Headline6",
},

bullets = { "󰎤", "󰎧", "󰎪", "󰎭", "󰎱", "󰎳" },
},
})
end

0 comments on commit 9781097

Please sign in to comment.