xi-editor / xi-mac

The xi-editor mac frontend.
Apache License 2.0
3.02k stars 147 forks source link

git commit message not highlighted automatically #425

Closed PhilCai1993 closed 5 years ago

PhilCai1993 commented 5 years ago

Xi-Mac Issue Template

Details

If your issue is a build or runtime error, please include the following:

Expected vs Actual

After set xi as git editor using git config --global core.editor 'xi --wait', and when typing git commit --amend, the commit is displayed in XiEditor, but it's not highlighted using git commit syntax.

image

actual: 👆(automatical)

expected 👇(manually selected view - language - git commit)

image

cmyr commented 5 years ago

@PhilCai1993 this should have been fixed recently, with https://github.com/xi-editor/xi-editor/issues/1096. Can you check this with master/master and see if it's still an issue?

PhilCai1993 commented 5 years ago

@cmyr It works