micro-editor / micro-editor/micro
-fileformat affects help text colors, too
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
First of thanks for this amazing editor! :-)
My report is a minor issue :-)
When I open a PHP script like $ micro -filetype php foobar and then type Ctrl-G the help text is hilighted also, as if it were PHP code. When I create a symlink a.php to foobar and open that $ micro a.php, the PHP code is hilighted while the help text shows as it does normally.
Specifications
micro -version yields: Version: 0.0.0-unknown
but apt install micro states it's at 2.0.1-1
Commit hash: -
OS: Windows 10
Terminal: WSL2/tmux
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
Reproduce the behavior with micro -filetype php foobar and Ctrl-G, then compare it with opening a symlink named a.php. Trace how the -filetype setting is applied to the editor and help text, and verify that PHP highlighting remains in the buffer while the help text keeps its normal styling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100