nvim: add markup and typst support
This commit is contained in:
parent
cc39b20de7
commit
a5d911e955
3 changed files with 34 additions and 0 deletions
23
dot_config/nvim/lua/plugins/markup.lua
Normal file
23
dot_config/nvim/lua/plugins/markup.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
-- Markup languages (mostly Markdown, TeX, and Typst)
|
||||
|
||||
return {
|
||||
{
|
||||
"OXY2DEV/markview.nvim",
|
||||
lazy = false,
|
||||
opts = {
|
||||
preview = {
|
||||
icon_provider = "mini",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"chomosuke/typst-preview.nvim",
|
||||
lazy = false,
|
||||
version = "1.*",
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "<leader>mpp", "<cmd>TypstPreview<cr>", desc = "Start preview", ft = "typst" },
|
||||
{ "<leader>mpx", "<cmd>TypstPreviewStop", desc = "Stop preview", ft = "typst" },
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue