This commit is contained in:
Alexander Gehrke 2025-03-26 19:47:20 +01:00
parent e90763e223
commit d9f092adac
8 changed files with 43 additions and 24 deletions

View file

@ -50,6 +50,7 @@ return {
plugins = {
rope_autoimport = { enabled = true },
isort = { enabled = true },
pycodestyle = { maxLineLength = 120 },
},
},
},
@ -57,6 +58,18 @@ return {
lemminx = {
settings = { xml = { server = { workDir = "~/.cache/lemminx" } } },
},
tinymist = {
--- todo: these configuration from lspconfig maybe broken
single_file_support = true,
root_dir = function()
return vim.fn.getcwd()
end,
--- See [Tinymist Server Configuration](https://github.com/Myriad-Dreamin/tinymist/blob/main/Configuration.md) for references.
settings = {
exportPdf = "onType",
outputPath = "$root/target/$dir/$name",
},
},
},
-- you can do any additional lsp server setup here
-- return true if you don't want this server to be setup with lspconfig