neovim/lua/custom/plugins/vim-markdown.lua

20 lines
501 B
Lua

-- 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",
ft = {
'markdown'
}
}
}