Fix git commit highlighting
As per: https://neovim.discourse.group/t/git-diff-highlighting-are-not-working-anymore-in-gitcommit-filetype/3547/4
This commit is contained in:
parent
ee02f5e450
commit
d0ddb50c32
12
init.lua
12
init.lua
|
@ -745,7 +745,17 @@ require('lazy').setup({
|
|||
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc' },
|
||||
ensure_installed = {
|
||||
'bash',
|
||||
'c',
|
||||
'diff',
|
||||
'git_rebase',
|
||||
'html',
|
||||
'lua',
|
||||
'markdown',
|
||||
'vim',
|
||||
'vimdoc',
|
||||
},
|
||||
-- Autoinstall languages that are not installed
|
||||
auto_install = true,
|
||||
highlight = { enable = true },
|
||||
|
|
Loading…
Reference in New Issue