From b7925fa3f4c7ddd8ddf89b6c345fcdc585a91208 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 26 Nov 2024 14:19:51 +0100 Subject: nvim: add typst lspconfig --- .config/nvim/lua/plugins/lsp.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.config/nvim') diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 41616de..2fa92c2 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -80,6 +80,19 @@ return { } end + -- typst/tinymist + require("lspconfig")["tinymist"].setup({ + on_attach = on_attach, + capabilities = capabilities, + single_file_support = true, + root_dir = function() + return vim.fn.getcwd() + end, + settings = { + formatterMode = "typstyle", + } + }) + -- lua require("lspconfig")["lua_ls"].setup({ on_attach = on_attach, -- cgit v1.2.3-70-g09d2