2023-09-19 16:33:33 +02:00
|
|
|
-- Syntax highlighting, matching rules and mappings for the original Markdown
|
|
|
|
-- and extensions.
|
|
|
|
-- https://github.com/preservim/vim-Markdown
|
|
|
|
|
|
|
|
-- Configure the folding style and folding level
|
|
|
|
vim.cmd([[ let g:vim_markdown_folding_level = 1 ]])
|
|
|
|
vim.cmd([[ let g:vim_markdown_folding_style_pythonic = 1 ]])
|
|
|
|
|
|
|
|
-- Enable the YAML frontmatter support (no highlight yet?)
|
|
|
|
vim.cmd([[ let g:vim_markdown_frontmatter = 1 ]])
|
|
|
|
|
|
|
|
return {
|
|
|
|
{
|
|
|
|
"preservim/vim-markdown",
|
2023-09-27 15:19:38 +02:00
|
|
|
lazy = true,
|
2023-09-19 16:33:33 +02:00
|
|
|
ft = {
|
|
|
|
'markdown'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|