Fix syntax highlighting of git commit messages (#26988)

- Load syntax colors into commit message editors
- Fix name mismatches that were preventing the git commit grammar and
language config from being matched up

Release Notes:

- Fixed git commit messages not being syntax-highlighted
This commit is contained in:
Cole Miller 2025-03-18 14:18:56 -04:00 committed by GitHub
parent cc36cd9768
commit 22b8662275
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 2 deletions

View file

@ -113,6 +113,7 @@ pub fn panel_editor_style(monospace: bool, window: &Window, cx: &App) -> EditorS
line_height: line_height.into(),
..Default::default()
},
syntax: cx.theme().syntax().clone(),
..Default::default()
}
}