diff --git a/lua/astrocommunity/pack/typst/README.md b/lua/astrocommunity/pack/typst/README.md new file mode 100644 index 000000000..420fa0a39 --- /dev/null +++ b/lua/astrocommunity/pack/typst/README.md @@ -0,0 +1,7 @@ +# Typst Language Pack + +This plugin pack does the following: + +- Add `typst,vim` for syntax +- Add `typst_lsp` language server + diff --git a/lua/astrocommunity/pack/typst/init.lua b/lua/astrocommunity/pack/typst/init.lua new file mode 100644 index 000000000..530a516fb --- /dev/null +++ b/lua/astrocommunity/pack/typst/init.lua @@ -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, + }, +}