Closed krishnakumarg1984 closed 1 year ago
Transferring to the correct repository
Just gonna drop here that I cannot replicate this. Looks like a caching issue
@mehalter Based on the recent discord chats, can you please remove the cant replicate
tag?
Sure @krishnakumarg1984 . After discussion it was found that this is not an issue in AstroNvim or the AstroCommunity repository and therefore this can be closed as unplanned.
Opened an issue upstream: https://github.com/folke/lazy.nvim/issues/803
What's in this file? krishnakumar/.config/nvim/lua/plugins/configs/mason.lua:2
It seems that you are requiring mason in a spec. That won't work, since lazy doesn't even know yet what mason is.
You can only require plugins and use plugins inside opts, config etc, not anywhere else.
Or after lazy loaded of course
@folke I have opened an issue on lazy.nvim that replicates this in a more minimal way. Sorry this was brought to your attention in such a messy way
Just pushed a fix for lazy.nvim. Will create a new release in a bit.
i heard @folke will join our discord
Just joined, but I'm not that active on discord, so probably not the best place to reach me ;)
Checklist
:AstroUpdate
Operating system/version
Ubuntu 22.10
Terminal/GUI
Wezterm
AstroNvim Health
AstroNvim ~
git
is installed: Used for core functionality such as updater and plugin managementxdg-open
is installed: Used forgx
mapping for opening files with system opener (Optional)lazygit
is installed: Used for mappings to pull up git TUI (Optional)node
is installed: Used for mappings to pull up node REPL (Optional)gdu
is installed: Used for mappings to pull up disk usage analyzer (Optional)btm
is installed: Used for mappings to pull up system monitor (Optional)python
is installed: Used for mappings to pull up python REPL (Optional)Describe the bug
For a fresh astronvim base install, trying to install any of the community plugins triggers pageful of lua errors with both Mason (first) and treesitter (subsequently).
Steps to Reproduce
~/.config/astronvim/lua/user/plugins/community.lua
and try to install a community package.rm -rfv ~/.local/share/nvim/ ~/.local/state/nvim/ ~/.cache/nvim/
. This is importantExpected behavior
The astronvim user community plugins should work seamlessly with a fresh state of a clean local cache and not produce these errors which run into pages.
Screenshots
Additional Context
No response