Add solid support for Typst editing

This commit is contained in:
Danielle McLean 2023-12-19 16:28:41 +11:00
parent ffeefd9021
commit 5395abfa03
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
2 changed files with 15 additions and 0 deletions

View file

@ -89,6 +89,16 @@ const lspServers = [
install: 'brew install typescript-language-server',
},
{
name: 'typst-lsp',
filetype: 'typst',
path: exepath('typst-lsp'),
initializationOptions: {
exportPdf: 'onType',
},
install: 'cargo install typst-lsp',
},
{
name: 'vim-language-server',
filetype: 'vim',

View file

@ -171,6 +171,11 @@ minpac#add('fladson/vim-kitty')
# PHPStan config file in my case.
minpac#add('fpob/nette.vim')
# Syntax highlighting and other minor niceties for Typst source. Nothing too
# exciting: we also rely on communicating with typst-lsp for full language
# support functionality.
minpac#add('kaarmu/typst.vim')
# Really good semantic folding for YAML and YAML-like files. If you're
# curious: https://pedrohdz.com/posts/programming/yaml_vim_folds/
minpac#add('pedrohdz/vim-yaml-folds')