Comments (5)
Thmhis is how it used to be out of the box but left users very confused when the ensure_installed
table that automatically installed debuggers didn't do anything. For now we don't have a real path forward for this without greatly decreasing the out of box experience. For this reason we made it load on opening a file and made it so the user has to opt into more aggressive lazy loading like you have
from astronvim.
Another option is to use the mason-tool-installer.nvim
plugin for installing mason packages which is super great (this is what I use on my personal configuration) which also will move the lazy loading to being more aggressive for dap as the automatic installation is handled separately. It's available in AstroCommunity:
I think I am leaning towards making this the default again. It was previously, but had a relatively slow startup time but I feel like that has improved.
I also think the way the spec is made in AstroCommunity could be considered a non-breaking change 🤔
from astronvim.
Ah actually, looking at this it looks like there is a part of the mason-tool-installer that does load the plugins for the mappings.... One sec that actually should probably be removed
Ah it is necessary to not be breaking because the installation mason plugins are required for some packages mappings
from astronvim.
@RayJameson So I got a new feature PR merged into mason-tool-installer to improve this (WhoIsSethDaniel/mason-tool-installer.nvim#49)
I will plan on making this a default in AstroNvim v5 with the integrations disabled by default.
In the meantime I would recommend the following adding the following to your community.lua
file:
{ import = "astrocommunity.utility.mason-tool-installer" },
In AstroCommunity we are now disabling the other mason plugin integrations by default to default improve lazy loading which tends to be a main reason for using this plugin anyway. Then users can opt into the integrations that they way.
from astronvim.
Nice! I'll stick to my workaround for now, but eventually, I'll move to the community plugin
from astronvim.
Related Issues (20)
- Error on `AstroFile` upon fresh installation HOT 2
- Annoying behavior when completing a code snippet with TAB HOT 3
- autochdir issue HOT 6
- AstroNvim 4.0 version, shellcheck not displayed and not working HOT 3
- Disable breadcrumbs? HOT 1
- Can't get <C-s> mapping to work in insert mode HOT 3
- Multiple model bindings HOT 1
- Bug when closing the toggleterm terminal HOT 3
- `<Leader>gg` and `<Leader>tl` always map to the same command HOT 2
- plugin `nvim-metals` doesn't work in Astronvim HOT 4
- Can't use astrotheme if nvim starts with a different theme HOT 5
- gdu not detected for windows/powershell HOT 7
- Failed to run `init` for **nvim-treesitter** HOT 1
- vue file save HOT 1
- Replace `nvim-colorizer` with `nvim-highlight-colors`
- Empty lines trigger popup with logs HOT 3
- Vacation Notice 🌞 (until May 21, 2024) HOT 1
- Bug: The nerd Icon became `E` after the cmd was canceled. HOT 2
- Feature: add feature auto close inlayhints in insert mode. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astronvim.