summaryrefslogtreecommitdiff
path: root/server/src/method
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-30 17:41:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-30 17:41:58 +0800
commit144a34923f5bcafdea10d8e3c04ca6d04c6354f7 (patch)
treed135fb08750ba58723655887358ecf9df2ce6556 /server/src/method
parentbd7fe18fc77e3f443de7b47673b1afddcc4c70f4 (diff)
downloadlua-language-server-144a34923f5bcafdea10d8e3c04ca6d04c6354f7.zip
使用当前函数的路径
Diffstat (limited to 'server/src/method')
-rw-r--r--server/src/method/initialized.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/initialized.lua b/server/src/method/initialized.lua
index fd5cd617..918e8da3 100644
--- a/server/src/method/initialized.lua
+++ b/server/src/method/initialized.lua
@@ -2,7 +2,7 @@ local rpc = require 'rpc'
local workspace = require 'workspace'
local config = require 'config'
-local function initAfterConfig(lsp)
+local function initAfterConfig(lsp)
-- 请求工作目录
rpc:request('workspace/workspaceFolders', nil, function (folders)
if folders then