diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-24 18:06:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-24 18:06:27 +0800 |
commit | 1933f28cdb6859660c6bc4dbb2f5c2b41b9eec02 (patch) | |
tree | 2c61c82fe4c82523f784a5b75ebd9f148fdb72b6 /script/provider/provider.lua | |
parent | ff6a7e95e1a6be16338bcd1819b512cb36960e3b (diff) | |
download | lua-language-server-1933f28cdb6859660c6bc4dbb2f5c2b41b9eec02.zip |
check local setting
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index fdcaebb2..21929734 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -7,24 +7,22 @@ local define = require 'proto.define' local workspace = require 'workspace' local config = require 'config' local library = require 'library' -local markdown = require 'provider.markdown' local client = require 'client' -local furi = require 'file-uri' local pub = require 'pub' -local fs = require 'bee.filesystem' local lang = require 'language' local progress = require 'progress' local tm = require 'text-merger' -local nonil = require 'without-check-nil' local cfgLoader = require 'config.loader' local function updateConfig() local new if CONFIGPATH then new = cfgLoader.loadLocalConfig(CONFIGPATH) + config.setSource 'path' log.debug('load config from local', CONFIGPATH) else new = cfgLoader.loadClientConfig() + config.setSource 'client' log.debug('load config from client') end if not new then |