feat(typst): add none-ls config

This commit is contained in:
Vo Quang Chien 2024-07-15 14:06:14 +07:00
parent 51a0452c97
commit 3b88644561

View file

@ -39,6 +39,17 @@ return {
},
},
{
"nvimtools/none-ls.nvim",
optional = true,
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = vim.list_extend(opts.sources or {}, {
nls.builtins.formatting.typstyle,
})
end,
},
{
"chomosuke/typst-preview.nvim",
cmd = { "TypstPreview" },