nvim: add markup and typst support
This commit is contained in:
parent
cc39b20de7
commit
a5d911e955
3 changed files with 34 additions and 0 deletions
|
@ -48,6 +48,12 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = function()
|
||||
require("nvim-treesitter.install").update({ with_sync = true })()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
|
|
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" },
|
||||
},
|
||||
},
|
||||
}
|
|
@ -19,6 +19,11 @@ return {
|
|||
"<cmd>Telescope find_files<cr>",
|
||||
desc = "Find files",
|
||||
},
|
||||
{
|
||||
"<leader>ss",
|
||||
"<cmd>Telescope current_buffer_fuzzy_find<cr>",
|
||||
desc = "Search in buffer",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue