micro-editor / micro-editor/micro
Suggestion: syntax overrides & link groups
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
I don't like how monokai and atom-dark-tc colorschemes color all my operators and brackets (symbol.operators, symbol.brackets) by default. Of course I could just make a copy and fix it, no big deal.
But what if I want to apply it to every colorscheme, as an override?
My immediate idea was to put a HandleCommand("color-link symbol.brackets default") in my init.lua but there's two catches.
- You can't run color-link as a command.
- You can't color-link a group to another group, only a group to a color spec.
(Coming from Vim where I can do this with a few hi link commands in my vimrc)
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 locating the color-link command handling and the colorscheme or syntax-group code associated with symbol.brackets and symbol.operators. The work is done when color-link can be invoked as described and can link one group to another, with behavior matching the requested overrides.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100