elixir-editors / elixir-editors/emacs-elixir

Use do...end as code block delimiters

Open
#405 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
454
Forks
93
PR merge metrics
No merged PRs in 30d

Description

The current behaviour is considering only some keywords as block delimiters, like `defmodule...end` or `def...end`. I'm guessing this according to this behaviour in my delimiters highlighting:

screenshot 2017-10-01 21 55 27

Well, the behaviour I was expecting is hightlighting the `do` and `end` keywords, and not the definition ones.

My understanding goes this ways because in elixir, the block delimiters are actually `do...end`, which is actually just a syntax sugar for `do: (...)`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.