feat: add render-markdown.nvim
This commit is contained in:
19
lua/409/plugins/markdown.lua
Normal file
19
lua/409/plugins/markdown.lua
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
|
lazy = false,
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>m",
|
||||||
|
function()
|
||||||
|
require("render-markdown").toggle()
|
||||||
|
end,
|
||||||
|
"Toggle markdown rendering",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
|
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" }, -- if you prefer nvim-web-devicons
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -18,6 +18,9 @@ return {
|
|||||||
-- see below for full list of optional dependencies 👇
|
-- see below for full list of optional dependencies 👇
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
|
ui = {
|
||||||
|
enable = false,
|
||||||
|
},
|
||||||
workspaces = {
|
workspaces = {
|
||||||
{
|
{
|
||||||
name = "personal",
|
name = "personal",
|
||||||
|
|||||||
Reference in New Issue
Block a user