summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/startify.lua
blob: 07e3de5af16feffeafd6d2446df266c4496f9bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
return {
	'mhinz/vim-startify',
	config = function()

-- Define your custom header as a Lua table
local header = {
    '    _   _                 _              ',
    '   | \\ | | ___  _____   _(_)_ __ ___     ',
    '   |  \\| |/ _ \\/ _ \\ \\ / / | \'_ ` _ \\    ',
    '   | |\\  |  __/ (_) \\ V /| | | | | | |   ',
    '   |_| \\_|\\___|\\___/ \\_/ |_|_| |_| |_|   ',
    '',
}


-- Set the g:startify_custom_header variable
local centered_header = vim.fn["startify#center"](header)
vim.g.startify_custom_header = centered_header
	end
}

--   _   _                 _              
--  | \ | | ___  _____   _(_)_ __ ___     
--  |  \| |/ _ \/ _ \ \ / / | '_ ` _ \    
--  | |\  |  __/ (_) \ V /| | | | | | |   
--  |_| \_|\___|\___/ \_/ |_|_| |_| |_|   
--