summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-11 13:18:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-11 13:18:02 +0800
commitd569eb607a0bb6e8fa16ccd0ae44ae2cbd729636 (patch)
treea33c60326d787e373486489fa3b186fcd25e75d3 /script
parentc72638938a8991ac9c977895463f35391d82265b (diff)
downloadlua-language-server-d569eb607a0bb6e8fa16ccd0ae44ae2cbd729636.zip
fix #719
Diffstat (limited to 'script')
-rw-r--r--script/files.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/files.lua b/script/files.lua
index d6c8f750..1de18a41 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -490,9 +490,6 @@ end
---@param uri uri
---@return table state
function m.getState(uri)
- if uri ~= '' and not m.isLua(uri) then
- return nil
- end
local file = m.fileMap[uri]
if not file then
return nil