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 0f0b8bbf..c43693f3 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -197,7 +197,7 @@ function mt:compileText(uri)
self._needCompile[uri] = nil
local ast = parser:ast(obj.text)
- obj.vm = matcher.vm(ast)
+ obj.vm = matcher.vm(ast, self)
obj.lines = parser:lines(obj.text, 'utf8')
if not obj.vm then
return obj