diff --git a/init.lua b/init.lua index a9b78cb..029a88b 100644 --- a/init.lua +++ b/init.lua @@ -199,6 +199,7 @@ vim.lsp.enable({ "terraformls", "nil_ls", "ts_ls", + "tombi", "yamlls", "harper_ls", }) diff --git a/lsp/tombi.lua b/lsp/tombi.lua new file mode 100644 index 0000000..649ff3f --- /dev/null +++ b/lsp/tombi.lua @@ -0,0 +1,15 @@ +return { + cmd = { "tombi", "lsp" }, + filetypes = { "toml" }, + root_markers = { "tombi.toml", "pyproject.toml", "pixi.toml", ".git" }, + settings = { + tombi = { + schemas = { + { + path = "https://pixi.sh/v0.76.1/schema/manifest/schema.json", + include = "**/pixi.toml", + }, + }, + }, + }, +}