3 files changed,
0 insertions(+),
47 deletions(-)
D
@@ -1,16 +0,0 @@
-return { - settings = { - schemaDownload = { - enable = true, - }, - schemas = { - { fileMatch = { "package.json" }, url = "https://json.schemastore.org/package.json" }, - { url = "https://json.schemastore.org/tsconfig.json", fileMatch = { "tsconfig.json", "tsconfig.*.json" } }, - { url = "https://json.schemastore.org/lerna.json", fileMatch = { "lerna.json" } }, - { url = "https://json.schemastore.org/eslintrc.json", fileMatch = { ".eslintrc.json", ".eslintrc" } }, - { url = "https://json.schemastore.org/prettierrc", fileMatch = { ".prettierrc", ".prettierrc.json", "prettier.config.json" } }, - { fileMatch = { ".golangci.toml", ".golangci.json" }, url = "https://json.schemastore.org/golangci-lint.json" }, - { fileMatch = { "package.json" }, url = "https://json.schemastore.org/package.json" }, - }, - }, -}
D
@@ -1,19 +0,0 @@
-return { - setup = { - handlers = { - ["textDocument/publishDiagnostics"] = function(_, _, p, id, _, cfg) - if p.diagnostics ~= nil then - local i = 1 - while i <= #p.diagnostics do - if p.diagnostics[i].code == 80001 then - table.remove(p.diagnostics, i) - else - i = i + 1 - end - end - end - vim.lsp.diagnostic.on_publish_diagnostics(_, _, p, id, _, cfg) - end, - }, - }, -}