feat(plugins): decouple statusline disable from theme

This commit is contained in:
Matt Leong 2021-11-06 22:31:11 -07:00
parent 4f3323d906
commit 5e77075f44
2 changed files with 3 additions and 3 deletions

View file

@ -18,13 +18,13 @@ local plugins = {
'fugitive',
'gitsigns',
'kommentary',
'nvim-tree',
'statusline',
'telescope',
'terminal',
'theme', -- if default theme is disabled, you will need to update add your own statusline
'theme',
'todo-comments',
'treesitter',
'nvim-tree',
},
}

View file

@ -68,7 +68,7 @@ return packer.startup(function()
require('cosmic.core.statusline')
end,
after = 'tokyonight.nvim',
disable = vim.tbl_contains(user_plugins.disable, 'statusline') or vim.tbl_contains(user_plugins.disable, 'theme'),
disable = vim.tbl_contains(user_plugins.disable, 'statusline'),
})
-- file explorer