fix: diff highlights doesn't reapply in colorscheme change (#744)
This commit is contained in:
parent
9de95f9e02
commit
3f947f8deb
@ -304,6 +304,11 @@ H.autocmds = function()
|
||||
callback = function() require("avante.highlights").setup() end,
|
||||
})
|
||||
|
||||
api.nvim_create_autocmd("ColorScheme", {
|
||||
group = H.augroup,
|
||||
callback = function() require("avante.highlights").setup() end,
|
||||
})
|
||||
|
||||
-- automatically setup Avante filetype to markdown
|
||||
vim.treesitter.language.register("markdown", "Avante")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user