fix: Correct lua version of TextYankPost autocmd

This commit is contained in:
Amanda Graven 2023-01-20 21:39:52 +01:00
parent 19b2ece7d3
commit ddefe39274
Signed by: amanda
GPG key ID: F747582C5608F4CB

View file

@ -163,7 +163,6 @@ au('BufWritePost', {
desc = 'Reload config when it is saved, and compile packer cache', desc = 'Reload config when it is saved, and compile packer cache',
}) })
au('TextYankPost', { au('TextYankPost', {
pattern = '*',
callback = vim.highlight.on_yank, callback = vim.highlight.on_yank,
desc = 'Highlight when text is yanked', desc = 'Highlight when text is yanked',
}) })