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:
parent
cc36cd9768
commit
22b8662275
4 changed files with 7 additions and 2 deletions
|
@ -202,6 +202,10 @@ pub fn init(languages: Arc<LanguageRegistry>, node: NodeRuntime, cx: &mut App) {
|
|||
adapters: vec![yaml_lsp_adapter],
|
||||
..Default::default()
|
||||
},
|
||||
LanguageInfo {
|
||||
name: "gitcommit",
|
||||
..Default::default()
|
||||
},
|
||||
];
|
||||
|
||||
for registration in built_in_languages {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue