elixir-editors / elixir-editors/emacs-elixir

Font lock issue with a more complex module var

Open
#473 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Emacs Lisp
Stars
454
Forks
93
PR merge metrics
No merged PRs in 30d

Description

Code snippet:
```
defmodule Foo do
@bar ["cool", "strings"]
@spam "this is formatted [#{
@bar
|> Enum.map(fn method -> "'#{method}'" end)
|> Enum.join(", ")
}]"

def eggs() do
IO.inspect("Doing whatever here")
end
end
```
Font lock seems to get really confused with `"` in `#{}`
Screenshot of highlighting:
image

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.