Skip to content

Error in vim.schedule lua callback #19

@ginesmoratalla

Description

@ginesmoratalla

Hey, I'm no expert in this and I assume there's some misconfiguration on my part (within my nvim config), perhaps coming from other plugins, but showkeys has been giving me some issues when it times out on an incomplete command combination, i.e., pressing just space on accident and not pressing anything else. The specific error i get is the following:

Error executing vim.schedule lua callback: ...a/.local/share/nvim/lazy/showkeys/lua/showkeys/utils.lua:58: Invalid 'window': Expected Lua number

stack traceback:
        [C]: in function 'nvim_win_set_config'
        ...a/.local/share/nvim/lazy/showkeys/lua/showkeys/utils.lua:58: in function 'update_win_w'
        ...a/.local/share/nvim/lazy/showkeys/lua/showkeys/utils.lua:77: in function 'redraw'
        ...a/.local/share/nvim/lazy/showkeys/lua/showkeys/utils.lua:83: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

The same error used to happen when using borderline, specifically showing when a command was incomplete and showkeys timed out, it just showed the same error in vim schedule lua callback.

Is this frequent on other users or anything?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions