Skip to content

Fix unescaped backslashes and expand git-config filename pattern to include */git/config#4025

Merged
JoeKar merged 5 commits into
micro-editor:masterfrom
injust:patch-1
Mar 9, 2026
Merged

Fix unescaped backslashes and expand git-config filename pattern to include */git/config#4025
JoeKar merged 5 commits into
micro-editor:masterfrom
injust:patch-1

Conversation

@injust

@injust injust commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

micro currently doesn't highlight ~/.config/git/config because the filename pattern requires the directory to be named .git/ (with a dot).

Related to #3962

Also fix some unescaped backslashes, see discussion below.

Comment thread runtime/syntax/git-config.yaml Outdated
@injust injust changed the title Expand git-config filename pattern to include foo/git/config Expand git-config filename pattern to include */git/config Feb 26, 2026
Comment thread runtime/syntax/git-config.yaml Outdated

@JoeKar JoeKar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Andriamanitra
Do you see something I didn't?

Comment thread runtime/syntax/git-config.yaml Outdated
@injust injust changed the title Expand git-config filename pattern to include */git/config Fix unescaped backslashes and expand git-config filename pattern to include */git/config Mar 8, 2026
Comment thread runtime/syntax/ruby.yaml Outdated
Co-authored-by: Mikko <Andriamanitra@users.noreply.github.com>
@JoeKar JoeKar merged commit 42d0ddf into micro-editor:master Mar 9, 2026
6 checks passed
@injust injust deleted the patch-1 branch March 9, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants