diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-22 03:56:16 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-22 03:56:24 +0800 |
commit | cdb6c06ca2983f1caf1a0964997c8c44ea784b27 (patch) | |
tree | b5356d6ad6e5c076d2e63140e9f72469987f5f49 /script/parser/luadoc.lua | |
parent | b26b7f7029d895c672a0a4d057d00b36355acaa7 (diff) | |
download | lua-language-server-cdb6c06ca2983f1caf1a0964997c8c44ea784b27.zip |
check nil
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index f44b789b..e69e98d3 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -126,7 +126,7 @@ Symbol <- ({} { ---@field literal boolean ---@field signs parser.object[] ---@field originalComment parser.object ----@field as parser.object +---@field as? parser.object local function trim(str) return str:match '^%s*(%S+)%s*$' |