Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not enough arguments for function: s:f1Help #48

Closed
kalekseev opened this issue Jan 26, 2022 · 0 comments
Closed

Not enough arguments for function: s:f1Help #48

kalekseev opened this issue Jan 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kalekseev
Copy link

Describe the bug
fsharp#showF1Help doesn't pass callback to f1Help function

let result = s:f1Help(expand('%:p'), line('.') - 1, col('.') - 1)

:call fsharp#showF1Help()

Error detected while processing function fsharp#showF1Help:
line    1:
E119: Not enough arguments for function: s:f1Help
line    2:
E121: Undefined variable: result

I've tried to pass null but that also raised an error:

:call fsharp#showF1Help()

E488: Trailing characters
Error executing vim.schedule lua callback: Vim(call):E117: Unknown function: Callback
stack traceback:
        [C]: in function 'fsharp#resolve_callback'
        .../pack/myVimPackages/start/ionide-vim/lua/ionide/init.lua:245: in function 'handler'
        ...eovim-unwrapped-0.6.1/share/nvim/runtime/lua/vim/lsp.lua:964: in function 'cb'
        vim.lua:285: in function <vim.lua:285>

Environment (please complete the following information):

  • OS: macos
  • Vim / Neovim version: neovim v0.6.1
  • dotnet SDK version:
  • mono / .Net Framework version:
@kalekseev kalekseev added the bug Something isn't working label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants