feat(plugins): decouple statusline disable from theme
This commit is contained in:
parent
4f3323d906
commit
5e77075f44
2 changed files with 3 additions and 3 deletions
|
@ -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',
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue