all repos

init.lua @ c436309

my nvim config
1 files changed, 3 insertions(+), 4 deletions(-)
refactor(lsp): update sehemas for json and yaml lsp
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-03-19 18:06:33 +0200
Parent: 9e0160f
M lua/plugins/lsp/servers.lua

@@ -61,10 +61,8 @@ },

yamlls = { settings = { yaml = { - schemaStore = { - enable = true, - url = "https://www.schemastore.org/api/json/catalog.json", - }, + schemaStore = { enable = false }, + schemas = require("schemastore").yaml.schemas(), }, }, },

@@ -72,6 +70,7 @@ jsonls = {

settings = { json = { schemas = require("schemastore").json.schemas(), + validate = { enable = true }, }, }, },