nvim/lua/settings/theme.lua
Fabian Schmidt bebd4c1ff9 I did way too much in this one commit
Vimconf2021 inspired me a lot and I'm not done yet
2021-11-26 23:38:04 +01:00

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