set filetypes for jsonls

This commit is contained in:
2022-03-20 20:26:01 +03:00
parent 905f897179
commit 78fd00d39a

View File

@@ -193,6 +193,7 @@ lsp_installer.on_server_ready(function(server)
end
if server.name == "jsonls" then
opts.filetypes = { "json", "jsonc" }
opts.settings = {
json = {
schemas = require("schemastore").json.schemas({