fix: same info when starting with several windows

Fix: 14
This commit is contained in:
Olivier Roques
2022-01-27 16:42:36 +01:00
parent da71801866
commit 0913699777
2 changed files with 70 additions and 87 deletions

View File

@@ -24,10 +24,6 @@ function M.echo(hlgroup, msg)
cmd('echohl None')
end
function M.is_active()
return g.statusline_winid == fn.win_getid()
end
function M.set_cache_autocmds(augroup)
cmd(fmt('augroup %s', augroup))
cmd('autocmd!')