feat: add typst support
This commit is contained in:
@ -60,3 +60,15 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||
require('spelling').spell_keymap()
|
||||
end,
|
||||
})
|
||||
|
||||
-- Typst bindings
|
||||
local typstgroup = vim.api.nvim_create_augroup("typst", { clear = true })
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "typst" },
|
||||
group = typstgroup,
|
||||
callback = function()
|
||||
vim.keymap.set('', '<LocalLeader>mp', ':TypstWatch<CR>', { noremap = true, silent = true, desc = "[M]ake [P]review" })
|
||||
require('spelling').spell_keymap()
|
||||
end,
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user