Hi,
When I run 'git commit', I have no more syntax highlighting. If I do set filetype=gitcommit, it still does not work. The file name is .../.git/COMMIT_EDITMSG.
However 'git log | vim -' works with filetype=git.
Frédéric
When I run 'git commit', I have no more syntax highlighting. If I do set filetype=gitcommit, it still does not work.
I just checked that those files are NOT missing and are user readable: /usr/share/vim/vim80/ftplugin/gitcommit.vim /usr/share/vim/vim80/syntax/gitcommit.vim
When I run 'git commit', I have no more syntax highlighting. If I do set filetype=gitcommit, it still does not work.
I just checked that those files are NOT missing and are user readable: /usr/share/vim/vim80/ftplugin/gitcommit.vim /usr/share/vim/vim80/syntax/gitcommit.vim
This was stupid: my .gitconfig in my home directory was owned by root:root!