bebd4c1ff9
Vimconf2021 inspired me a lot and I'm not done yet
37 lines
612 B
Lua
37 lines
612 B
Lua
-- Theming
|
|
|
|
local theme = {}
|
|
|
|
function theme.initFont()
|
|
vim.opt.guifont = 'Source Code Pro for Powerline'
|
|
end
|
|
|
|
function theme.initStatusline()
|
|
require'lualine'.setup {
|
|
options = {
|
|
theme = 'onedark'
|
|
}
|
|
}
|
|
end
|
|
|
|
function theme.initBufferline()
|
|
local bufferline = require'bufferline'
|
|
bufferline.setup()
|
|
end
|
|
|
|
function theme.initColorscheme()
|
|
vim.g.limelight_conceal_ctermfg = 'gray'
|
|
vim.cmd'colorscheme darcula-solid'
|
|
vim.cmd'set termguicolors'
|
|
vim.opt.syntax = 'on'
|
|
end
|
|
|
|
function theme.init()
|
|
theme.initFont()
|
|
theme.initStatusline()
|
|
theme.initBufferline()
|
|
theme.initColorscheme()
|
|
end
|
|
|
|
return theme
|