`@spec import()` considers import as `keyword.control.elixir`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start by inspecting the Elixir syntax-highlighting grammar and the rule that classifies import inside @spec. Reproduce the provided snippet in TextMate or Sublime Text and compare its highlighting with the expected function-spec text. Done means import in @spec is no longer highlighted as keyword.control.elixir.
Written by the indexing model from the issue text.
Description
Given this code:
@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.
- Dominant language
- Python
- Stars
- 262
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elixir-editors/elixir-tmbundle
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
elixir-editors/elixir-tmbundle#184 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
elixir-editors/elixir-tmbundle#183 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
elixir-editors/elixir-tmbundle#180 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
elixir-editors/elixir-tmbundle#170 · 4 comments · 1 reaction ·
All issues in elixir-editors/elixir-tmbundle
Similar issues
-
`burr` fails to start when the Python path has a space in itPossibly taken @enekoreto claimed this today. Openstatus/needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 5 days
-
gemini 出现了新的域名需要加入Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 2/5 Half a day Newbie friendliness 72/100
debpalash/VoiceStudio#2903 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dagster-io/community-integrations#367 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
aws-samples/sample-per-model-bedrock#243 ·
Maintainers usually reply within 1 day