set filetypes for jsonls
This commit is contained in:
@@ -193,6 +193,7 @@ lsp_installer.on_server_ready(function(server)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if server.name == "jsonls" then
|
if server.name == "jsonls" then
|
||||||
|
opts.filetypes = { "json", "jsonc" }
|
||||||
opts.settings = {
|
opts.settings = {
|
||||||
json = {
|
json = {
|
||||||
schemas = require("schemastore").json.schemas({
|
schemas = require("schemastore").json.schemas({
|
||||||
|
|||||||
Reference in New Issue
Block a user