Skip to content

Commit

Permalink
feat(pack): Add typst pack (#684)
Browse files Browse the repository at this point in the history
* add typst support

* Update lua/astrocommunity/pack/typst/README.md

---------

Co-authored-by: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com>
  • Loading branch information
simbafs and Uzaaft committed Dec 20, 2023
1 parent 70c2995 commit aa41c50
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lua/astrocommunity/pack/typst/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Typst Language Pack

This plugin pack does the following:

- Add `typst,vim` for syntax
- Add `typst_lsp` language server

9 changes: 9 additions & 0 deletions lua/astrocommunity/pack/typst/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
local utils = require "astronvim.utils"

return {
{ "kaarmu/typst.vim", ft = { "typst" } },
{
"williamboman/mason-lspconfig.nvim",
opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "typst_lsp") end,
},
}

0 comments on commit aa41c50

Please sign in to comment.