Files
keycodex/lua/plugins/ui.lua
T

43 lines
1.1 KiB
Lua

return {
-- rendering for html, latex, md
{
'OXY2DEV/markview.nvim',
lazy = false,
-- to load before treesitter
priority = 45,
config = function()
require('markview').setup({
markdown = {
code_blocks = { sign = false },
},
})
end,
},
-- markdown preview
{
'iamcco/markdown-preview.nvim',
build = 'cd app && yarn install',
init = function()
vim.g.mkdp_filetypes = { 'markdown' }
end,
ft = 'markdown',
cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview' },
},
-- fold
{
'kevinhwang91/nvim-ufo',
event = { 'BufReadPost', 'BufNewFile' },
dependencies = { 'kevinhwang91/promise-async', event = 'BufReadPost' },
config = function()
require('ufo').setup({
provider_selector = function(bufnr, filetype, buftype)
return { 'treesitter', 'indent' }
end,
})
end,
},
}