Create highlights on VimEnter

Also update README.md
This commit is contained in:
Olivier Roques
2021-01-11 09:44:50 +01:00
parent 7a701bec8e
commit df8217c4b2
2 changed files with 5 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ local function set_hlgroups()
table.insert(a, string.format('%s=%s', k, v))
end
a = table.concat(a, ' ')
cmd(string.format('autocmd ColorScheme * hi %s %s', hlgroup, a))
cmd(string.format('autocmd VimEnter,ColorScheme * hi %s %s', hlgroup, a))
end
end
end