mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-04 18:15:38 +02:00
feat(typst): add none-ls config
This commit is contained in:
parent
51a0452c97
commit
3b88644561
1 changed files with 11 additions and 0 deletions
|
@ -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",
|
"chomosuke/typst-preview.nvim",
|
||||||
cmd = { "TypstPreview" },
|
cmd = { "TypstPreview" },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue