Skip to content

Entering command-line window while loading workspace results in an error #25

Description

@opalmay

Steps to reproduce:

  1. Open a workspace file (So it shows the "Loading workspace" indication)
  2. Press q: to go inside the command-line window while the workspace is still loading
  3. The following error will appear once or more:
Error detected while processing User Autocommands for "LspProgressUpdate":                                                                                 
Error executing lua callback: ...site/pack/lazy/opt/notifier.nvim/lua/notifier/status.lua:80: E11: Invalid in command-line window; <CR> executes, CTRL-C qu
its                                                                                                                                                        
stack traceback:                                                                                                                                           
        [C]: in function 'nvim_win_close'                                                                                                                  
        ...site/pack/lazy/opt/notifier.nvim/lua/notifier/status.lua:80: in function '_delete_win'                                                          
        ...site/pack/lazy/opt/notifier.nvim/lua/notifier/status.lua:258: in function 'redraw'                                                              
        ...site/pack/lazy/opt/notifier.nvim/lua/notifier/status.lua:314: in function 'pop'                                                                 
        ...site/pack/lazy/opt/notifier.nvim/lua/notifier/status.lua:324: in function 'handle'                                                              
        ...m/site/pack/lazy/opt/notifier.nvim/lua/notifier/init.lua:91: in function <...m/site/pack/lazy/opt/notifier.nvim/lua/notifier/init.lua:87>       
        [C]: in function 'nvim_exec_autocmds'                                                                                                              
        /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:64: in function 'handler'                                                                         
        /usr/share/nvim/runtime/lua/vim/lsp.lua:1049: in function ''                                                                                       
        vim/_editor.lua: in function <vim/_editor.lua:0>

The "Loading workspace" indicator is then permanently stuck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions