diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-29 10:00:20 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-29 10:00:20 +0800 |
commit | 200797454ab208ac1fbaa9d6766ad117b4243c22 (patch) | |
tree | 77cc7854532c86c7c8589f3e11e537c09cbd46dc | |
parent | ff19e2b6aa31b31eb9c8023c39546a0569670d1f (diff) | |
download | lua-language-server-200797454ab208ac1fbaa9d6766ad117b4243c22.zip |
修正函数的enum显示不正确的bug
-rw-r--r-- | server/src/core/hover/lib_function.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/hover/lib_function.lua b/server/src/core/hover/lib_function.lua index 56e6e22f..3aa0cc5a 100644 --- a/server/src/core/hover/lib_function.lua +++ b/server/src/core/hover/lib_function.lua @@ -162,7 +162,7 @@ local function buildEnum(lib) if enum.code then strs[#strs+1] = tostring(enum.code) else - strs[#strs+1] = ('%q'):format(enum.enum) + strs[#strs+1] = tostring(enum.enum) end if enum.description then strs[#strs+1] = ' -- ' .. enum.description |