Remove typst stuff

This commit is contained in:
sfigato 2024-07-22 12:44:34 +02:00
parent 0764d4d754
commit 6dfa641a90
Signed by: blallo
GPG Key ID: C530464EEDCF489A
2 changed files with 1 additions and 31 deletions

View File

@ -33,34 +33,6 @@ if not configs.elixirls then
} }
end 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 -- keybindings
local on_attach = function(client, bufrn) local on_attach = function(client, bufrn)
@ -115,10 +87,8 @@ local servers = {
'tsserver', 'tsserver',
'elixirls', 'elixirls',
'dartls', 'dartls',
-- 'denols',
'clangd', 'clangd',
'zls', 'zls',
'typst-lsp',
} }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup { nvim_lsp[lsp].setup {

View File

@ -151,7 +151,7 @@ local function init()
-- typst -- typst
use 'kaarmu/typst.vim' use 'kaarmu/typst.vim'
use 'nvarner/typst-lsp' --use 'nvarner/typst-lsp'
end end
local plugins = setmetatable({}, { local plugins = setmetatable({}, {