From d40d6273539fa67c3af15887d9747107ed887909 Mon Sep 17 00:00:00 2001 From: Techno Duck Date: Fri, 13 Mar 2026 21:40:40 -0400 Subject: [PATCH] added tinymist --- lua/technoduck/lazy_plugins/lsp.lua | 12 ++++++++++++ lua/technoduck/lazy_plugins/typst.lua | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 lua/technoduck/lazy_plugins/typst.lua diff --git a/lua/technoduck/lazy_plugins/lsp.lua b/lua/technoduck/lazy_plugins/lsp.lua index 572938a..9d49817 100644 --- a/lua/technoduck/lazy_plugins/lsp.lua +++ b/lua/technoduck/lazy_plugins/lsp.lua @@ -33,6 +33,7 @@ return { 'lua_ls', 'jedi_language_server', 'fortls', + 'tinymist', }, handlers = { function(server_name) @@ -71,6 +72,17 @@ return { } } }) + require('lspconfig').tinymist.setup { + settings = { + + formatterMode = "typstyle", + + exportPdf = "onType", + + semanticTokens = "disable" + + } + } end, } }) diff --git a/lua/technoduck/lazy_plugins/typst.lua b/lua/technoduck/lazy_plugins/typst.lua new file mode 100644 index 0000000..8c814ff --- /dev/null +++ b/lua/technoduck/lazy_plugins/typst.lua @@ -0,0 +1,6 @@ +return { + 'chomosuke/typst-preview.nvim', + lazy = false, -- or ft = 'typst' + version = '1.*', + opts = {dependencies_bin = { ['tinymist'] = 'tinymist' }}, -- lazy.nvim will implicitly calls `setup {}` +} -- 2.51.2