nvim: autocmd: Fix TextYankPost autocmd

This commit is contained in:
Sanchayan Maity 2021-12-01 19:45:00 +05:30
parent 674b1539ed
commit 3c69913845

View file

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