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', 'fugitive',
'gitsigns', 'gitsigns',
'kommentary', 'kommentary',
'nvim-tree',
'statusline', 'statusline',
'telescope', 'telescope',
'terminal', 'terminal',
'theme', -- if default theme is disabled, you will need to update add your own statusline 'theme',
'todo-comments', 'todo-comments',
'treesitter', 'treesitter',
'nvim-tree',
}, },
} }

View file

@ -68,7 +68,7 @@ return packer.startup(function()
require('cosmic.core.statusline') require('cosmic.core.statusline')
end, end,
after = 'tokyonight.nvim', 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 -- file explorer