micro-editor / micro-editor/micro

Apache configuration in `/etc/httpd/conf/extra` is not highlighted

Open
#2,175 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.