nvim-lua / kickstart.nvim

A launch point for your personal nvim configuration
MIT License
18.86k stars 21.57k forks source link

Add `diff` to treesitter's `ensure_installed` languages #908

Closed rmacklin closed 5 months ago

rmacklin commented 5 months ago

This enables highlighted diffs when running git commit --verbose.

I think this is a good default for kickstart.nvim since most developers use git regardless of what programming language they normally work in (and we already install gitsigns). This avoids the need for users to manually run :TSInstall diff as stated in https://github.com/nvim-lua/kickstart.nvim/issues/237#issuecomment-1493519287.

Before:

image

After:

image