diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-04 11:47:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-04 11:47:02 +0800 |
commit | e44b3de412d136bc14a5b43740297cd3aa4a67b9 (patch) | |
tree | 89aa363ba572d35e107f0c12acb6dd34022b52d0 /script/parser | |
parent | a8d71363b79537e2f42d9131cfed8ff6665f4640 (diff) | |
download | lua-language-server-e44b3de412d136bc14a5b43740297cd3aa4a67b9.zip |
fix nil
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/parse.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/parse.lua b/script/parser/parse.lua index ef0ed04e..e4935e7a 100644 --- a/script/parser/parse.lua +++ b/script/parser/parse.lua @@ -11,7 +11,7 @@ return function (self, lua, mode, version, options) errs = errs, diags = diags, comms = comms, - options = options, + options = options or {}, pushError = function (err) if err.finish < err.start then err.finish = err.start |