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

Consider adding automatic language mode installation? #559

Closed
volb opened this issue Feb 7, 2015 · 8 comments
Closed

Consider adding automatic language mode installation? #559

volb opened this issue Feb 7, 2015 · 8 comments

Comments

@volb
Copy link

volb commented Feb 7, 2015

One of the things holding me back from using spacemacs full time is the lack of automated installation of major modes for new languages not built in yet. Would this be a bad idea to add? Or has it been added already? It's a feature in prelude.

@volb
Copy link
Author

volb commented Feb 7, 2015

I can help work on this if you'd like.

@syl20bnr
Copy link
Owner

syl20bnr commented Feb 8, 2015

I won't provide such feature. Spacemacs is designed to install and use only what you explicitly reference in your .spacemacs file. If you want the support for a language you can see if it is supported with SPC f e h and then add it to your .spacemacs.

For now when you add a layer to your dotspacemac-configuration-layers variable you have to restart spacemacs but there will be support for installing it without restarting it. It will even be possible to install it from helm-spacemacs (SPC f e h) but to make it persistent it will be necessary to add it explicitly to your dotfile.

Generally I'm for explicit declaration since it gives more control and tends to make debugging easier.

@syl20bnr
Copy link
Owner

Followup on this. I'm considering it. It can be a nice feature to quickly look at a file in another language without actually installing a layer.

@volb
Copy link
Author

volb commented Feb 20, 2015

This makes me happy haha. How about some sort of special personal configuration layer that holds odds and ends like this? The documentation compares config layers to Vundle but while Vundle is less organized, it seems like less work? I don't know, the organization as it is is very clean. Just a thought.

@Compro-Prasad
Copy link
Contributor

Any progress on this @syl20bnr ?

@Miciah
Copy link
Contributor

Miciah commented Jun 18, 2018

Does dotspacemacs-enable-lazy-installation provide the requested functionality? Lazy installation of layers appears to have been added since this issue was opened, but it is not clear to me whether "installation of major modes for new languages not built in yet" means installing Spacemacs layers that are not enabled by default or installing packages for which layers have not yet been defined.

@fiveNinePlusR
Copy link
Contributor

I think this is built in now to spacemacs and can be closed unless the original author of the issue says that it's not what they mean.

@Compro-Prasad
Copy link
Contributor

@sdwolfz This can be closed. Spacemacs offers to install a layer according the extension of a file.

@sdwolfz sdwolfz closed this as completed Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants