Compare commits
2 commits
c14710aa98
...
73f9322a96
Author | SHA1 | Date | |
---|---|---|---|
73f9322a96 | |||
75a32b2a54 |
2 changed files with 12 additions and 2 deletions
|
@ -35,7 +35,7 @@ local servers = {
|
||||||
taplo = {},
|
taplo = {},
|
||||||
texlab = {},
|
texlab = {},
|
||||||
tinymist = {},
|
tinymist = {},
|
||||||
tsserver = {},
|
ts_ls = {},
|
||||||
yamlls = {},
|
yamlls = {},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,14 +69,24 @@ local prose_plugs = {
|
||||||
main = "render-markdown",
|
main = "render-markdown",
|
||||||
opts = {
|
opts = {
|
||||||
file_types = { unpack(md_like) },
|
file_types = { unpack(md_like) },
|
||||||
|
render_modes = { "n", "c", "i" },
|
||||||
code = {
|
code = {
|
||||||
sign = false,
|
sign = false,
|
||||||
width = "block",
|
width = "block",
|
||||||
right_pad = 1,
|
right_pad = 1,
|
||||||
},
|
},
|
||||||
|
checkbox = {
|
||||||
|
custom = {
|
||||||
|
todo = { raw = "[-]", rendered = " ", highlight = "RenderMarkdownTodo" },
|
||||||
|
removed = { raw = "[_]", rendered = " ", highlight = "RenderMarkdownTodo" },
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim
|
name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim
|
||||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" }, -- if you prefer nvim-web-devicons
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
},
|
||||||
ft = md_like,
|
ft = md_like,
|
||||||
cmd = "RenderMarkdown",
|
cmd = "RenderMarkdown",
|
||||||
keys = {
|
keys = {
|
||||||
|
|
Loading…
Reference in a new issue