Remove typst stuff
This commit is contained in:
parent
0764d4d754
commit
6dfa641a90
|
@ -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 {
|
||||
|
|
|
@ -151,7 +151,7 @@ local function init()
|
|||
|
||||
-- typst
|
||||
use 'kaarmu/typst.vim'
|
||||
use 'nvarner/typst-lsp'
|
||||
--use 'nvarner/typst-lsp'
|
||||
end
|
||||
|
||||
local plugins = setmetatable({}, {
|
||||
|
|
Loading…
Reference in New Issue
Block a user