fully on lazy! cleaned up some plugins

This commit is contained in:
Norm Rasmussen
2023-02-11 11:32:58 -05:00
parent 8632f79d4a
commit fc4743abc1
10 changed files with 296 additions and 134 deletions

38
lua/plugins/headlines.lua Normal file
View File

@ -0,0 +1,38 @@
return {
'lukas-reineke/headlines.nvim',
}
--[[ config = function()
require("headlines").setup {
markdown = {
query = vim.treesitter.parse_query(
"markdown",
[[
(atx_heading [
(atx_h1_marker)
(atx_h2_marker)
(atx_h3_marker)
(atx_h4_marker)
(atx_h5_marker)
(atx_h6_marker)
] @headline)
(thematic_break) @dash
(fenced_code_block) @codeblock
(block_quote_marker) @quote
(block_quote (paragraph (inline (block_continuation) @quote)))
),
headline_highlights = { "Headline" },
codeblock_highlight = "CodeBlock",
dash_highlight = "Dash",
dash_string = "-",
quote_highlight = "Quote",
quote_string = "┃",
fat_headlines = true,
},
}
end
}
--]]