From 4c2ade6e598318311e52df49fad764834f91e01a Mon Sep 17 00:00:00 2001 From: TheSoeren Date: Wed, 21 May 2025 10:40:47 +0200 Subject: [PATCH] add typst lsp and preview package --- lua/custom/plugins/typst-preview.lua | 9 +++++++++ lua/plugins.lua | 1 + 2 files changed, 10 insertions(+) create mode 100644 lua/custom/plugins/typst-preview.lua diff --git a/lua/custom/plugins/typst-preview.lua b/lua/custom/plugins/typst-preview.lua new file mode 100644 index 00000000..106d1324 --- /dev/null +++ b/lua/custom/plugins/typst-preview.lua @@ -0,0 +1,9 @@ +return { + 'chomosuke/typst-preview.nvim', + ft = 'typst', + version = '1.*', + opts = { + port = 56643, + dependencies_bin = { ['tinymist'] = 'tinymist' }, + }, +} diff --git a/lua/plugins.lua b/lua/plugins.lua index 881daf63..bf242778 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -207,6 +207,7 @@ require('lazy').setup({ 'clang-format', 'omnisharp', 'prettierd', + 'tinymist', }) -- Skip automatic setup for servers