diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-02 20:31:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-02 20:31:35 +0800 |
commit | be0d11df2d89b8cb8cf24190ccfbd273256f4c74 (patch) | |
tree | 328597311c655f39bc43c9bcb963a4fd7491a65c /script/core/definition.lua | |
parent | 4508b4018dced01fe5420e008e813199d0ce856f (diff) | |
download | lua-language-server-be0d11df2d89b8cb8cf24190ccfbd273256f4c74.zip |
update
Diffstat (limited to 'script/core/definition.lua')
-rw-r--r-- | script/core/definition.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/core/definition.lua b/script/core/definition.lua index 9270367f..3323cb84 100644 --- a/script/core/definition.lua +++ b/script/core/definition.lua @@ -151,6 +151,10 @@ return function (uri, offset) if not guide.isLiteral(src) then goto CONTINUE end + else + if guide.isLiteral(src) then + goto CONTINUE + end end if src.type == 'doc.class.name' or src.type == 'doc.alias.name' then |