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

Doesn't find backend if ... #64

Closed
rgnkn opened this issue Mar 4, 2022 · 2 comments
Closed

Doesn't find backend if ... #64

rgnkn opened this issue Mar 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rgnkn
Copy link

rgnkn commented Mar 4, 2022

Describe the bug
I use packer for plugin management. Everything works fine, if I load Aerial normally. But as soon as I try to lazy load it (e.g. by the means of any of these: cmd = "AerialToggle", event = "VimEnter", ...) it claims that there is no backend available for this first file. I need to open another file, then everything is running fine if I go back to the original file.

Could you please check if you can reproduce this bug? I'd really prefer lazy loading Aerial.

[EDIT] This behaviour happens with all filetypes I tested: Rust, Markdown, Python, Java. So, I guess that this is not filetype dependend.

System information

  • OS: Linux (Ubuntu 21.10)
  • Neovim version:
NVIM v0.7.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -ffile-prefix-map=/build/neovim-jrEyPR/neovim-0.7.0~ubuntu1+git202203040050-13cabfedb-dd05b3569=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim-jrEyPR/neovim-0.7.0~ubuntu1+git202203040050-13cabfedb-dd05b3569/build/config -I/build/neovim-jrEyPR/neovim-0.7.0~ubuntu1+git202203040050-13cabfedb-dd05b3569/src -I/build/neovim-jrEyPR/neovim-0.7.0~ubuntu1+git202203040050-13cabfedb-dd05b3569/.deps/usr/include -I/usr/include -I/build/neovim-jrEyPR/neovim-0.7.0~ubuntu1+git202203040050-13cabfedb-dd05b3569/build/src/nvim/auto -I/build/neovim-jrEyPR/neovim-0.7.0~ubuntu1+git202203040050-13cabfedb-dd05b3569/build/include
Compiled by buildd@ubuntu

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info
  • AerialInfo (with empty buffer):
Aerial Info                                                                                                                              
-----------                                                                                                                              
Filetype:                                                                                                                                
Configured backends:                                                                                                                     
  lsp (not supported) [LSP client not attached]                                                                                          
  treesitter (not supported) [No treesitter parser for ]                                                                                 
  markdown (not supported) [Filetype is not markdown]                                                                                    
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct 
  • Aerial config:
    default settings
@rgnkn rgnkn added the bug Something isn't working label Mar 4, 2022
@stevearc
Copy link
Owner

stevearc commented Mar 4, 2022

Pushed up a fix. Let me know if it works!

@rgnkn
Copy link
Author

rgnkn commented Mar 4, 2022

Wow - That was quick!

... and: Yep, it works.

I will close this issue and thx alot.

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