diff options
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 04d1b4e6..3fe7e691 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -564,7 +564,7 @@ proto.on('textDocument/signatureHelp', function (params) end await.close('signatureHelp') await.setID('signatureHelp') - local offset = files.offsetOfWord(uri, params.position) + local offset = files.offset(uri, params.position) local core = require 'core.signature' local results = core(uri, offset - 1) if not results then |