Add solid support for Typst editing
This commit is contained in:
parent
ffeefd9021
commit
5395abfa03
2 changed files with 15 additions and 0 deletions
|
@ -89,6 +89,16 @@ const lspServers = [
|
||||||
install: 'brew install typescript-language-server',
|
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',
|
name: 'vim-language-server',
|
||||||
filetype: 'vim',
|
filetype: 'vim',
|
||||||
|
|
|
@ -171,6 +171,11 @@ minpac#add('fladson/vim-kitty')
|
||||||
# PHPStan config file in my case.
|
# PHPStan config file in my case.
|
||||||
minpac#add('fpob/nette.vim')
|
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
|
# Really good semantic folding for YAML and YAML-like files. If you're
|
||||||
# curious: https://pedrohdz.com/posts/programming/yaml_vim_folds/
|
# curious: https://pedrohdz.com/posts/programming/yaml_vim_folds/
|
||||||
minpac#add('pedrohdz/vim-yaml-folds')
|
minpac#add('pedrohdz/vim-yaml-folds')
|
||||||
|
|
Loading…
Reference in a new issue