diff options
author | unknown <sumnekosun@intranet.123u.com> | 2019-04-01 18:43:28 +0800 |
---|---|---|
committer | unknown <sumnekosun@intranet.123u.com> | 2019-04-01 18:43:28 +0800 |
commit | a66a4c54ef9421f0ba5683cd727a40197078d724 (patch) | |
tree | ff3f02d0ac37fccf36496b9a8d1aa298f2925b96 /server/src/workspace.lua | |
parent | 623c09ab4e17052861595f00999f5a27543fc908 (diff) | |
download | lua-language-server-a66a4c54ef9421f0ba5683cd727a40197078d724.zip |
给预加载价格上限
Diffstat (limited to 'server/src/workspace.lua')
-rw-r--r-- | server/src/workspace.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/workspace.lua b/server/src/workspace.lua index b05105a0..d03fc217 100644 --- a/server/src/workspace.lua +++ b/server/src/workspace.lua @@ -1,6 +1,8 @@ local fs = require 'bee.filesystem' local async = require 'async' local config = require 'config' +local rpc = require 'rpc' +local lang = require 'language' local function split(str, sep) local t = {} @@ -185,7 +187,6 @@ function mt:findPath(baseUri, searchers) end) uri = results[1] end - self.lsp:readText(uri, self:uriDecode(uri)) return uri end |