nvim: lua: autocmd: Fix highlight on yank autocmd
Still does not seem to work though 🤔.
This commit is contained in:
parent
38ccba3a6a
commit
b6e2f23516
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ local autocmds = {
|
|||
{ "InsertEnter", "*", "setlocal nohlsearch" };
|
||||
};
|
||||
lua_highlight = {
|
||||
{ "TextYankPost", "*", "silent! lua require'vim.highlight'.on_yank(\"IncSearch\", 2000)" };
|
||||
{ "TextYankPost", "*", "silent! lua vim.highlight.on_yank(timeout=2000)" };
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue