json: add support of schemastore schemas
Co-Authored-by: iGor milhit <igor@milhit.ch>main
parent
60c7aacd4e
commit
de01104408
7
init.lua
7
init.lua
|
@ -495,7 +495,14 @@ local servers = {
|
|||
|
||||
-- Require vscode-langservers-extracted
|
||||
-- https://github.com/hrsh7th/vscode-langservers-extracted
|
||||
-- Configure schemastore to be used
|
||||
jsonls = {
|
||||
settings = {
|
||||
json = {
|
||||
schemas = require('schemastore').json.schemas(),
|
||||
validate = { enable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
-- Plugin for schemastore
|
||||
-- https://github.com/b0o/SchemaStore.nvim
|
||||
|
||||
return {
|
||||
"b0o/schemastore.nvim",
|
||||
}
|
Loading…
Reference in New Issue