Fork me on GitHub
#spacemacs
<
2017-09-16
>
achikin11:09:28

I have troubles configuring elm layer

achikin11:09:00

The instructions says

achikin11:09:03

Also, note that if you use homebrew to install elm-format the installed exe has a version suffix, the installed command name can be set in your ~/spacemacs:

(elm :variables
     elm-format-command "elm-format-0.17")

achikin11:09:36

But where exactly should I place that (elm) function call?

achikin11:09:43

I’ve tried to put it under dotspacemacs/user-config () but that spawns an error on emacs start

malch11:09:50

@achikin It should go to your dotspacemacs-configuration-layers

malch11:09:11

it's a layer config

achikin11:09:39

So, instead of just elm I should write (elm :variables bla-bla) right?

achikin11:09:12

Thank you very much!

malch11:09:23

Glad I could help simple_smile

vuuvi17:09:39

anyone have any advice for rendering markdown inside spacemacs?

eggsyntax17:09:09

@alexkeyes I use the default markdown layer, which IIRC pops up a preview in the browser.

eggsyntax17:09:35

But if you run across something better, I’d love to know about it.

vuuvi17:09:14

okay I’ll poke around the internet

eggsyntax17:09:04

Looks like the markdown layer has a swappable engine, so you might be able to get it to preview in other ways. http://spacemacs.org/layers/+lang/markdown/README.html