nvim: Add startpage

This commit is contained in:
histalek 2023-01-09 14:09:42 +01:00
parent 874a55c2ad
commit be8cfae777
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03
3 changed files with 15 additions and 0 deletions

View file

@ -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")

View file

@ -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

View 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)