summaryrefslogtreecommitdiff
path: root/lua/lvim/lsp/providers/jsonls.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-06-27 19:18:20 +0200
committerGitHub <[email protected]>2022-06-27 19:18:20 +0200
commita99894b2c8215c5fa3966fbe9b5096d59bcca8dd (patch)
tree683a02d59225ae11f6b089f5b193212b744f2961 /lua/lvim/lsp/providers/jsonls.lua
parentc6431a09c7e6541dba46a7f7e6db7a34d0d00092 (diff)
feat(lsp): add option to override nlsp-settings (#2769)
Diffstat (limited to 'lua/lvim/lsp/providers/jsonls.lua')
-rw-r--r--lua/lvim/lsp/providers/jsonls.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/lua/lvim/lsp/providers/jsonls.lua b/lua/lvim/lsp/providers/jsonls.lua
index 528c72a0..76aea25f 100644
--- a/lua/lvim/lsp/providers/jsonls.lua
+++ b/lua/lvim/lsp/providers/jsonls.lua
@@ -1,12 +1,7 @@
-local full_schemas = vim.tbl_deep_extend(
- "force",
- require("schemastore").json.schemas(),
- require("nlspsettings.jsonls").get_default_schemas()
-)
local opts = {
settings = {
json = {
- schemas = full_schemas,
+ schemas = require("schemastore").json.schemas(),
},
},
setup = {