summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-24 16:28:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-24 16:28:18 +0800
commitcc97259ed0d37d964e16bc37c0be3e9e982e719f (patch)
treebd1bb2306a5a85514e4c4b976bcd900e442ea8be /server
parentc597a4c796f46421775a04f7577fb22ef8fed69e (diff)
downloadlua-language-server-cc97259ed0d37d964e16bc37c0be3e9e982e719f.zip
修正报错
Diffstat (limited to 'server')
-rw-r--r--server/src/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 5ed235c9..d2232086 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -211,7 +211,7 @@ end
---@param uri uri
function mt:close(uri)
self._files:close(uri)
- if not self:isLua() or self:isIgnored(uri) then
+ if not self:isLua(uri) or self:isIgnored(uri) then
self:removeText(uri)
end
end