nvim: Update yank highlight for vim 0.11
This commit is contained in:
parent
ecf26880ed
commit
642d422007
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
-- Highlight whatever is being yanked
|
||||
vim.api.nvim_create_autocmd({ "TextYankPost" }, {
|
||||
command = 'silent! lua require"vim.highlight".on_yank{timeout=500}',
|
||||
command = 'silent! lua require"vim.hl".on_yank{timeout=500}',
|
||||
desc = "Highlight yanked text whenevery yanking something",
|
||||
group = vim.api.nvim_create_augroup("highlightyanks", { clear = true }),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue