summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-27 09:50:29 +0800
committersumneko <sumneko@hotmail.com>2019-05-27 09:50:29 +0800
commit71eef9f8ae04187f33ed3ecd09d16e22fc83d785 (patch)
treed92aec9c0cb4cc4d6041d1fba1f0d19dde736b06 /server
parent28c04562c5d3869eb47d1190349d4c68655aefe8 (diff)
downloadlua-language-server-71eef9f8ae04187f33ed3ecd09d16e22fc83d785.zip
改个错误
Diffstat (limited to 'server')
-rw-r--r--server/src/parser/lines.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/parser/lines.lua b/server/src/parser/lines.lua
index 95e92573..f2f076e1 100644
--- a/server/src/parser/lines.lua
+++ b/server/src/parser/lines.lua
@@ -21,7 +21,7 @@ local function Space(...)
for i = 1, #line do
if line[i] == ' ' then
sp = sp + 1
- else
+ elseif line[i] == '\t' then
tab = tab + 1
end
line[i] = nil