micro-editor / micro-editor/micro
Add option to disable autoclose when cursor is not before whitespace
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
Micro autocloses brackets and quotation marks when the cursor is placed to the left of certain non-word characters such as - and &.
Is there an option to turn off autoclose whenever the character to the right of the cursor is not a whitespace?
Thanks
Specifications
Commit hash: 2.0.13
OS: NixOS
Terminal: kitty
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 autoclose behavior described for characters such as - and & using the stated Micro version, NixOS, and kitty environment, then trace the editor's autoclose handling. Define and implement an option that disables autoclose whenever the character to the right is not whitespace, and verify both enabled and disabled behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100