nvim: autocmd: Fix TextYankPost autocmd

This commit is contained in:
Sanchayan Maity 2021-12-01 19:45:00 +05:30
parent 674b1539ed
commit 3c69913845
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ local autocmds = {
{ "InsertEnter", "*", "setlocal nohlsearch" };
};
lua_highlight = {
{ "TextYankPost", "*", "silent! lua vim.highlight.on_yank(timeout=2000)" };
{ "TextYankPost", "*", "silent! lua vim.highlight.on_yank({timeout=1000})" };
};
ansi_esc_log = {
{ "BufEnter", "*.log", ":AnsiEsc" };