elixir-editors / elixir-editors/emacs-elixir
Require as function name should not appear as blue
Open
- Dominant language
- Emacs Lisp
- Stars
- 454
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
Special reserved words can actually be used as function name as well.
For example with `require`.

The first usage, `require Foo` shows that "require" is highlighted in blue. That's good.
The second usage, `require(fields, :title, &validate_title/1)`, is also displayed in blue. It should not. It is a normal function and should be displayed in white.
The same behaviour can be seen with function named `import`.
I'm happy to start working on a patch, but I'd need initial guidance.
Contributor guide
Assessment
This issue has not been assessed yet.