fully on lazy! cleaned up some plugins
This commit is contained in:
38
lua/plugins/headlines.lua
Normal file
38
lua/plugins/headlines.lua
Normal 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
|
||||
}
|
||||
--]]
|
||||
Reference in New Issue
Block a user