feat: Adds typst preview toggle to nvim key maps.

This commit is contained in:
2025-04-24 14:11:46 -04:00
parent ecf3e98e25
commit 3041d0a5e5
3 changed files with 14 additions and 1 deletions

View File

@@ -61,6 +61,11 @@ return {
},
marksman = {},
sourcekit = {},
tinymist = {
settings = {
formatterMode = "typstyle",
},
},
yamlls = {},
},
setup = {

View File

@@ -1,6 +1,13 @@
return {
'chomosuke/typst-preview.nvim',
lazy = false, -- or ft = 'typst'
ft = 'typst', -- or ft = 'typst'
version = '1.*',
opts = {}, -- lazy.nvim will implicitly calls `setup {}`
keys = {
{
"<leader>tp",
"<CMD>TypstPreviewToggle<CR>",
desc = "Toggle typst preview."
},
}
}

View File

@@ -18,3 +18,4 @@ orchestrator
ethernet
unifi
wildcard
Housh