summaryrefslogtreecommitdiff
path: root/server-beta/src/proto
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/proto')
-rw-r--r--server-beta/src/proto/provider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/proto/provider.lua b/server-beta/src/proto/provider.lua
index 0c029a45..9ad5147a 100644
--- a/server-beta/src/proto/provider.lua
+++ b/server-beta/src/proto/provider.lua
@@ -157,7 +157,7 @@ proto.on('textDocument/definition', function (params)
local lines = files.getLines(uri)
local text = files.getText(uri)
local offset = inte.offset(lines, text, params.position)
- local result = core(ast, text, offset)
+ local result = core(ast, offset)
if not result then
return nil
end