diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-16 21:00:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-16 21:00:05 +0800 |
commit | 753841914bed1f0b3fcc990acb28b2f657bd8b85 (patch) | |
tree | 9a9f9912fb5936eb2bc45210773db3a807a5f64b | |
parent | 4ed3b03136e4cc4028c07a43fe82507875d0c172 (diff) | |
download | lua-language-server-753841914bed1f0b3fcc990acb28b2f657bd8b85.zip |
fix
-rw-r--r-- | tools/locale.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/locale.lua b/tools/locale.lua index dcb71e03..3cbaf534 100644 --- a/tools/locale.lua +++ b/tools/locale.lua @@ -22,7 +22,7 @@ local function loadLocaleFile(filePath) end goto CONTINUE end - local comment = line:match '%-%- TODO.+$' + local comment = line:match '%s*%-%- TODO.+$' if comment then line = line:sub(1, - #comment - 1) end |