diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-21 14:55:01 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-21 14:55:01 +0800 |
commit | 481e8619b8da70296b02af714e0bf76b561b68a6 (patch) | |
tree | 3716661f55acd752d99a1be78f751d56b8b82f07 /server/src/matcher | |
parent | 99cf6980cc70b6ffeb72f87f392f2ebe2bb31c33 (diff) | |
download | lua-language-server-481e8619b8da70296b02af714e0bf76b561b68a6.zip |
过滤string的引用
Diffstat (limited to 'server/src/matcher')
-rw-r--r-- | server/src/matcher/references.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/matcher/references.lua b/server/src/matcher/references.lua index 722156d3..71b7eb77 100644 --- a/server/src/matcher/references.lua +++ b/server/src/matcher/references.lua @@ -21,6 +21,7 @@ local function parseResult(result, declarat) positions[#positions+1] = {info.source.start, info.source.finish} end end + elseif tp == 'string' then else error('Unknow result type:' .. result.type) end |