feat(nvim): install markview.nvim
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 46s

This commit is contained in:
Price Hiller 2024-08-14 23:55:31 -05:00
parent 4fc28fe8b2
commit fec293b9bb
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 20 additions and 27 deletions

View File

@ -23,32 +23,17 @@ return {
}
return {
markdown = {
bullets = bullets,
bullet_highlights = bullet_highlights,
fat_headline_lower_string = "",
query = vim.treesitter.query.parse(
"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)))
(block_quote (paragraph (block_continuation) @quote))
(block_quote (list (list_item (paragraph (inline (block_continuation) @quote)))))
(block_quote (block_continuation) @quote)
]]
),
headline_highlights = false,
bullet_highlights = false,
bullets = false,
codeblock_highlight = false,
dash_highlight = false,
dash_string = false,
quote_highlight = false,
quote_string = false,
fat_headlines = false,
fat_headline_upper_string = false,
fat_headline_lower_string = false,
},
rmd = {
bullets = bullets,
@ -68,6 +53,6 @@ return {
}
end,
config = true,
ft = { "markdown", "norg", "rmd", "org" },
ft = { "norg", "rmd", "org" },
},
}

View File

@ -0,0 +1,8 @@
return {
"OXY2DEV/markview.nvim",
lazy = false,
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
},
}