diff --git a/README.md b/README.md index e54ff4d..e5c1300 100644 --- a/README.md +++ b/README.md @@ -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._ + ![screenshot](./screenshot.png) ## Installation diff --git a/lua/hardline.lua b/lua/hardline.lua index d209c83..e33cee7 100644 --- a/lua/hardline.lua +++ b/lua/hardline.lua @@ -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