service was a good idea, thank you tasty

This commit is contained in:
Chris 2021-07-28 19:13:07 -04:00
parent e2f7cce3c5
commit 3ee44cb393
3 changed files with 14 additions and 13 deletions

View file

@ -57,8 +57,8 @@ lvim = {
}
local schemas = nil
local common_on_attach = require("lsp.utils").common_on_attach
local common_capabilities = require("lsp.utils").common_capabilities()
local common_on_attach = require("lsp.service").common_on_attach
local common_capabilities = require("lsp.service").common_capabilities()
local status_ok, jsonls_settings = pcall(require, "nlspsettings.jsonls")
if status_ok then
schemas = jsonls_settings.get_default_schemas()