Create highlights on VimEnter
Also update README.md
This commit is contained in:
@@ -4,6 +4,10 @@ A statusline / bufferline for Neovim written in Lua. It is inspired by
|
||||
[vim-airline](https://github.com/vim-airline/vim-airline) but aims to
|
||||
be as light and simple as possible.
|
||||
|
||||
_**Note**: this plugin is mainly for my own use. I won't add new
|
||||
features/parts/themes if I don't need them. Feel free to submit PRs or fork the
|
||||
plugin though._
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user