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

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

Open
opalmay opened this issue Jan 12, 2023 · 0 comments
Open

Comments

@opalmay
Copy link

opalmay commented Jan 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant