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 {}` +}