Try run this steps to work
- open
nvim - Check if gitsigns is installed
:checkhealth gitsigns - If it shows errors, reinstall or enable
:Lazy sync - Ensure Treesitter Highlighting is Working
:checkhealth nvim-treesitter - If Treesitter is missing for Git highlighting, install the required parsers
:TSInstall gitcommit diff - Reload Treesitter
:TSUpdate - check if file
git.luaexists - If don´t exists it in
~/.config/nvim/lua/plugins/git.lua
Adjust for your directory
- Now, try execute the Git integration syntax highlighting again with
git commit -v