nvim: Add startpage
This commit is contained in:
parent
874a55c2ad
commit
be8cfae777
3 changed files with 15 additions and 0 deletions
|
@ -8,6 +8,7 @@ require("core.keymaps")
|
|||
|
||||
-- Plugin configs, setup has to come first
|
||||
require("plugin-setup")
|
||||
require("plugins.alpha")
|
||||
require("plugins.comment")
|
||||
require("plugins.nvim-autopairs")
|
||||
require("plugins.nvim-tree")
|
||||
|
|
|
@ -94,6 +94,9 @@ return packer.startup({
|
|||
-- Fast onscreen navigation
|
||||
use("ggandor/leap.nvim")
|
||||
|
||||
-- nvim startpage
|
||||
use({ "goolord/alpha-nvim", requires = "nvim-tree/nvim-web-devicons" })
|
||||
|
||||
if packer.bootstrap then
|
||||
require("packer").sync()
|
||||
end
|
||||
|
|
11
.config/nvim/lua/plugins/alpha.lua
Normal file
11
.config/nvim/lua/plugins/alpha.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
local alpha_status, alpha = pcall(require, "alpha")
|
||||
if not alpha_status then
|
||||
return
|
||||
end
|
||||
|
||||
local startify_status, alpha_startify = pcall(require, "alpha.themes.startify")
|
||||
if not startify_status then
|
||||
return
|
||||
end
|
||||
|
||||
alpha.setup(alpha_startify.config)
|
Loading…
Add table
Reference in a new issue