fix: syntax highlighting for diffs
This commit is contained in:
@@ -4,10 +4,7 @@ Config.now(function()
|
||||
require('rose-pine').setup({
|
||||
enable = { terminal = false, legacy_highlights = false, migrations = false, },
|
||||
styles = { italic = false },
|
||||
highlight_groups = {
|
||||
MiniDiffOverAdd = { fg = 'NONE', bg = 'foam', blend = 20 },
|
||||
MiniDiffOverChangeBuf = { bg = 'rose', blend = 20 },
|
||||
},
|
||||
groups = { git_change = 'gold', git_text = 'gold' },
|
||||
})
|
||||
|
||||
vim.cmd.colorscheme('rose-pine')
|
||||
@@ -22,7 +19,7 @@ Config.now_if_args(function()
|
||||
local filetypes = {
|
||||
'html', 'css', 'lua', 'go', 'php', 'blade', 'sql', 'javascript',
|
||||
'typescript', 'typescriptreact', 'svelte', 'dockerfile', 'yaml', 'markdown', 'dart',
|
||||
'json', 'xml', 'toml', 'sh', 'zsh', 'just', 'gitcommit', 'diff', 'regex', 'http'
|
||||
'json', 'xml', 'toml', 'sh', 'zsh', 'just', 'gitcommit', 'diff', 'regex', 'http', 'kotlin'
|
||||
}
|
||||
|
||||
Config.autocmd('FileType', filetypes, function(ev)
|
||||
|
||||
Reference in New Issue
Block a user