diff --git a/lua/config/lspconfig.lua b/lua/config/lspconfig.lua index 348a56f..29ca1fa 100644 --- a/lua/config/lspconfig.lua +++ b/lua/config/lspconfig.lua @@ -33,34 +33,6 @@ if not configs.elixirls then } end --- typst-lsp - -if not configs.typst_lsp then - configs.typst_lsp = { - default_config = { - cmd = { 'typst-lsp' }, - filetypes = { 'typst' }, - single_file_support = true, - root_dir = function(fname) - return nvim_lsp.util.find_git_ancestor(fname) - end, - }, - docs = { - description = [[ -https://github.com/nvarner/typst-lsp - -Language server for Typst. - ]], - }, - } -end - -require 'lspconfig'.typst_lsp.setup { - settings = { - exportPdf = "onSave", - } -} - -- keybindings local on_attach = function(client, bufrn) @@ -115,10 +87,8 @@ local servers = { 'tsserver', 'elixirls', 'dartls', - -- 'denols', 'clangd', 'zls', - 'typst-lsp', } for _, lsp in ipairs(servers) do nvim_lsp[lsp].setup { diff --git a/lua/plugins.lua b/lua/plugins.lua index 18a7032..7397ff4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -151,7 +151,7 @@ local function init() -- typst use 'kaarmu/typst.vim' - use 'nvarner/typst-lsp' + --use 'nvarner/typst-lsp' end local plugins = setmetatable({}, {