minorit(es)
:
This commit is contained in:
parent
e4fcbab2cf
commit
275a9c36b4
3 changed files with 20 additions and 19 deletions
|
@ -1,18 +0,0 @@
|
||||||
require('dashboard').setup {
|
|
||||||
theme = 'doom', -- theme is doom and hyper default is hyper
|
|
||||||
disable_move, -- default is false disable move keymap for hyper
|
|
||||||
shortcut_type, -- shorcut type 'letter' or 'number'
|
|
||||||
change_to_vcs_root, -- default is false,for open file in hyper mru. it will change to the root of vcs
|
|
||||||
config = {}, -- config used for theme
|
|
||||||
hide = {
|
|
||||||
statusline, -- hide statusline default is true
|
|
||||||
tabline, -- hide the tabline
|
|
||||||
winbar, -- hide winbar
|
|
||||||
},
|
|
||||||
preview = {
|
|
||||||
command, -- preview command
|
|
||||||
file_path, -- preview file path
|
|
||||||
file_height, -- preview file height
|
|
||||||
file_width, -- preview file width
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -11,4 +11,3 @@ require("core.plugin_config.null_ls")
|
||||||
require("core.plugin_config.colorscheme")
|
require("core.plugin_config.colorscheme")
|
||||||
require("core.plugin_config.liveserver")
|
require("core.plugin_config.liveserver")
|
||||||
require("core.plugin_config.color-picker")
|
require("core.plugin_config.color-picker")
|
||||||
require("core.plugin_config.dashboard")
|
|
||||||
|
|
|
@ -72,6 +72,26 @@ local plugins = {
|
||||||
-- startup
|
-- startup
|
||||||
{
|
{
|
||||||
'glepnir/dashboard-nvim',
|
'glepnir/dashboard-nvim',
|
||||||
|
config = function()
|
||||||
|
require('dashboard').setup {
|
||||||
|
theme = 'doom', -- theme is doom and hyper default is hyper
|
||||||
|
disable_move, -- default is false disable move keymap for hyper
|
||||||
|
shortcut_type, -- shorcut type 'letter' or 'number'
|
||||||
|
change_to_vcs_root, -- default is false,for open file in hyper mru. it will change to the root of vcs
|
||||||
|
config = {}, -- config used for theme
|
||||||
|
hide = {
|
||||||
|
statusline, -- hide statusline default is true
|
||||||
|
tabline, -- hide the tabline
|
||||||
|
winbar, -- hide winbar
|
||||||
|
},
|
||||||
|
preview = {
|
||||||
|
command, -- preview command
|
||||||
|
file_path, -- preview file path
|
||||||
|
file_height, -- preview file height
|
||||||
|
file_width, -- preview file width
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end,
|
||||||
event = 'VimEnter',
|
event = 'VimEnter',
|
||||||
dependencies = { { 'nvim-tree/nvim-web-devicons' } }
|
dependencies = { { 'nvim-tree/nvim-web-devicons' } }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue