21 lines
551 B
Lua
21 lines
551 B
Lua
vim.keymap.set('n', '<leader>e', function()
|
|
vim.cmd.Markview 'toggleAll'
|
|
end, { desc = 'Toggle Markview' })
|
|
return {
|
|
{ -- Markview
|
|
'OXY2DEV/markview.nvim',
|
|
lazy = false, -- Recommended
|
|
-- ft = "markdown" -- If you decide to lazy-load anyway
|
|
dependencies = {
|
|
-- You will not need this if you installed the
|
|
-- parsers manually
|
|
-- Or if the parsers are in your $RUNTIMEPATH
|
|
'nvim-treesitter/nvim-treesitter',
|
|
'nvim-tree/nvim-web-devicons',
|
|
},
|
|
opts = {
|
|
hybrid_modes = { 'n' },
|
|
},
|
|
},
|
|
}
|