Updates blink and jsonls

This commit is contained in:
Dennis Schoepf 2025-04-10 00:19:09 +02:00
parent 89eab258b0
commit aaa7c87fa7
2 changed files with 9 additions and 11 deletions

View file

@ -1,17 +1,15 @@
return {
cmd = { 'vscode-json-language-server', '--stdio' },
filetypes = { 'json', 'jsonc' },
cmd = { "vscode-json-language-server", "--stdio" },
filetypes = { "json", "jsonc" },
init_options = {
provideFormatter = true,
},
root_dir = function(fname)
return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
end,
root_markers = { ".git" },
single_file_support = true,
settings = {
json = {
schemas = require("schemastore").json.schemas(),
validate = { enable = true }
}
}
validate = { enable = true },
},
},
}

View file

@ -17,11 +17,11 @@ return {
selection = {
preselect = false,
auto_insert = true,
}
}
},
},
},
signature = {
enabled = true
enabled = true,
},
sources = {
default = { "lsp", "path", "snippets", "buffer" },