micro-editor / micro-editor/micro
C syntax highlighting.
Open
Nobody has claimed this yet.
bug
syntax
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
If you write #include <float.h>.
It weirdly highlights the float part in blue, even though we are referring to the library not declaring a variable.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reproducing the highlighting for #include <float.h> in micro with a small C source file, then locate the C syntax-highlighting definition used by the editor. Compare this directive with ordinary declarations and update the relevant behavior so the header name is not highlighted as a variable type; verify the result in the editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100