summaryrefslogtreecommitdiff
path: root/server/src/matcher/completion.lua
blob: 66b993a42eb6577f6b6d90c4b44188317056b8c8 (plain)
1
2
3
4
5
6
7
8
local findResult = require 'matcher.find_result'

return function (vm, pos)
    local result = findResult(vm, pos)
    if not result then
        return nil
    end
end