add back one of the markdown extras
This commit is contained in:
parent
de389679fa
commit
de346f7f45
1 changed files with 20 additions and 1 deletions
|
@ -1,3 +1,22 @@
|
|||
return {
|
||||
require("util").setup_lang({treesitter = {"markdown", "markdown_inline"}})
|
||||
require("util").setup_lang({treesitter = {"markdown", "markdown_inline"}}),
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||
build = function()
|
||||
vim.fn["mkdp#util#install"]()
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<leader>cp",
|
||||
ft = "markdown",
|
||||
"<cmd>MarkdownPreviewToggle<cr>",
|
||||
desc = "Markdown Preview",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
vim.cmd([[do FileType]])
|
||||
end,
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue