diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-29 13:46:28 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-29 13:46:28 +0800 |
commit | cc33507654fa35640118b13bdd3f19696631980a (patch) | |
tree | 636cad7ea765a4439d9655dcf9cba39f3f68e17c /server/src/core/definition.lua | |
parent | 9c2843279fb04b75169057c3d81a93ce87ebcf34 (diff) | |
download | lua-language-server-cc33507654fa35640118b13bdd3f19696631980a.zip |
尽量不合并value
Diffstat (limited to 'server/src/core/definition.lua')
-rw-r--r-- | server/src/core/definition.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/definition.lua b/server/src/core/definition.lua index b348a386..e41c6727 100644 --- a/server/src/core/definition.lua +++ b/server/src/core/definition.lua @@ -105,7 +105,7 @@ local function parseLocal(vm, source, lsp) return positions end local value = source:bindValue() - if value.uri ~= '' and value.uri ~= vm.uri then + if value and value.uri ~= '' and value.uri ~= vm.uri then return parseValueCrossFile(vm, source, lsp) end positions[#positions+1] = { |