Steve Purcell

Results 398 comments of Steve Purcell

What you're seeing is different levels of "bounce indenting" in order to achieve alignment with elements such as the empty list on the line above. If you want to disable...

P.S. I personally feel that the best solution is to embrace `elm-format`... :-)

I've made this more straightforward in the latest code, which should build into a MELPA package automatically in the next few hours: specifically, all you'll need to do will be...

The "bounce indentation" you're seeing without `elm-indent-mode` is your Emacs-wide default behaviour of trying to align indentation with previous indentations. In the latter screen capture, with `elm-indent-mode`, it looks like...

If you want multiples of 4 spaces, there'll be a default Emacs indentation function for that. Re. exactly matching `elm-format`, I doubt that will happen, since the indentation system is...

Is that auto-indenting with elm-format (e.g. when you save), or you mean using the Emacs commands (e.g. mark whole buffer, reindent)?

Thanks. Would you mind sharing which emacs version you're using?

I'd think this situation is pretty common, and in general having the tags file cover related JS too might be helpful. But I understand where you're coming from here, and...

Yep, sounds reasonable. In Elm 0.19 there shouldn't be any elm source inside elm-stuff anyway, so sooner or later that variable will go away, I expect.

> What do you think folks about changing `elm-tag-exclude-elm-stuff` to just `elm-tag-exclude` which can be a list of strings (folders) to exclude. Sure, that would make sense. Ideally we'd do...