summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/service.lua')
-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 d88753f1..0026fb05 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -177,7 +177,7 @@ function mt:isLua(uri)
if not self.workspace then
return true
end
- local path = self.workspace:relativePathByUri(uri)
+ local path = self.workspace:absolutePathByUri(uri)
if self.workspace:isLuaFile(path) then
return true
end