fix: Correct lua version of TextYankPost autocmd
This commit is contained in:
parent
19b2ece7d3
commit
ddefe39274
1
init.lua
1
init.lua
|
@ -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',
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue