elixir-editors / elixir-editors/elixir-tmbundle
`@spec import()` considers import as `keyword.control.elixir`
Open
- Dominant language
- Python
- Stars
- 262
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
Given this code:
```elixir
@spec import(Plug.Conn.t(), map()) :: Plug.Conn.t()
def import(conn, attrs) do
# implementation here
end
```
The syntax highlighter treats the function name in `@spec import` as an `import` keyword.

Expects `@spec import` to be treated as a part of the function spec. As in the screenshot above, the text should be in white rather than red.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.