Each time I open a .toml
file I'm asked in the minibuffer:
Support for toml-mode requires installation of layer rust, do you want to install it? (y or n) n
How can I stop that question?
I didn't know the answer to your question when I first read it. However, Emacs revealed the answer after I asked it some questions.
dotspacemacs-enable-lazy-installation
dotspacemacs-ask-for-lazy-installation
After reading their docstrings, I figured out that you have to do this:
(setq dotspacemacs-ask-for-lazy-installation nil)
The more you learn how to ask Emacs questions about itself, the faster you'll get good at it. Here are a few more to commit to memory.
Emacs can tell you so much about itself if you ask.