nvim: lua: autocmd: Drop scrollbar autocmd

Should have been cleaned as part of 5058b6b.
This commit is contained in:
Sanchayan Maity 2021-04-28 21:10:10 +05:30
parent 9abfcaeeca
commit 9d3efb1a3c

View file

@ -28,16 +28,6 @@ local autocmds = {
lua_highlight = { lua_highlight = {
{ "TextYankPost", "*", "silent! lua require'vim.highlight'.on_yank(\"IncSearch\", 2000)" }; { "TextYankPost", "*", "silent! lua require'vim.highlight'.on_yank(\"IncSearch\", 2000)" };
}; };
scrollbar = {
{ "BufEnter", "*", "silent! lua require('scrollbar').show()" };
{ "BufLeave", "*", "silent! lua require('scrollbar').clear()" };
{ "CursorMoved", "*", "silent! lua require('scrollbar').show()" };
{ "VimResized", "*", "silent! lua require('scrollbar').show()" };
{ "FocusGained", "*", "silent! lua require('scrollbar').show()" };
{ "FocusLost", "*", "silent! lua require('scrollbar').clear()" };
};
} }
nvim_create_augroups(autocmds) nvim_create_augroups(autocmds)