ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.07k stars 57 forks source link

Error executing vim.schedule lua callback #175

Closed wsbky closed 2 years ago

wsbky commented 2 years ago

While coding in typescript, I got an error below.

Error executing vim.schedule lua callback: .../dein/.cache/init.vim/.dein/lua/lsp_signature/helper.lua:187: malformed pattern (missing ']')
stack traceback:
        [C]: in function 'findwholeword'
        .../dein/.cache/init.vim/.dein/lua/lsp_signature/helper.lua:187: in function 'match_parameter'
        ...he/dein/.cache/init.vim/.dein/lua/lsp_signature/init.lua:216: in function 'handler'
        ...w/Cellar/neovim/0.6.1/share/nvim/runtime/lua/vim/lsp.lua:964: in function 'cb'
        vim.lua:285: in function <vim.lua:285>
ray-x commented 2 years ago

what is the code signature it trying to complete? It may contain meta/special characters

wsbky commented 2 years ago
Screen Shot 2022-04-17 at 19 55 45

I got the error when typing inside () of the above method.

ray-x commented 2 years ago

Should be fixed.