micro-editor / micro-editor/micro
Apache configuration in `/etc/httpd/conf/extra` is not highlighted
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
The reason is that this filename detection is way too restrictive.
Most configuration files in /etc/httpd/conf/extra are called httpd-[^.]+\.conf. There are exceptions, however, e.g. php_module\.conf or proxy-html\.conf, which don’t follow the pattern.
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 with runtime/syntax/apacheconf.yaml, especially the filename detection at line 4. Review how the pattern handles httpd-[^.]+.conf and the listed exceptions such as php_module.conf and proxy-html.conf; done means Apache configuration files in /etc/httpd/conf/extra are highlighted correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100