mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nvim): typst.nvim
This commit is contained in:
parent
9a6853434e
commit
eaf88c07c7
3 changed files with 29 additions and 18 deletions
|
|
@ -234,3 +234,12 @@ require "lspconfig".tsserver.setup {
|
|||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
-- Typst
|
||||
require "lspconfig".typst_lsp.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
exportPdf = "onType"
|
||||
}
|
||||
}
|
||||
vim.filetype.add({ extension = { typ = "typst" } })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue