diff options
| author | jdhao <jdhao@hotmail.com> | 2021-10-22 22:52:33 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-10-22 22:52:33 +0800 |
| commit | 553ff503037696611d45d60767932aaf0a2ffc8c (patch) | |
| tree | ee739bfddbfaebbee37d2f0cd076309702bd1ef5 /lua/plugins.lua | |
| parent | a0a4db076edfdf1235c9245cccbe57a29af371d0 (diff) | |
change vim-airline and vim-airlinethemes load condition
vim-airline needs to be loaded after vim-signify, otherwise the git
signs won't show on the statusline.
Diffstat (limited to 'lua/plugins.lua')
| -rw-r--r-- | lua/plugins.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 85d1c54..ef7e20f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -121,8 +121,8 @@ require("packer").startup({ -- use 'airblade/vim-gitgutter' -- colorful status line and theme - use({"vim-airline/vim-airline-themes", opt = true, setup = [[vim.cmd 'packadd vim-airline-themes']]}) - use({"vim-airline/vim-airline", opt = true, setup = [[vim.cmd 'packadd vim-airline']]}) + use({"vim-airline/vim-airline-themes", after = 'vim-signify',}) + use({"vim-airline/vim-airline", after = 'vim-airline-themes',}) use({ "akinsho/bufferline.nvim", event = "VimEnter", config = [[require('config.bufferline')]] }) |
