feat: add solarized dark theme

main
mandlm 2022-02-20 12:25:12 +01:00
parent f1bc810412
commit 99aba01d79
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
3 changed files with 14 additions and 0 deletions

View File

@ -1 +1,2 @@
require('plugins')
require('themes')

View File

@ -21,6 +21,9 @@ return require('packer').startup(function(use)
-- Let Packer manage itself
use('wbthomason/packer.nvim')
-- Themes
use('altercation/vim-colors-solarized')
-- git commands
use('tpope/vim-fugitive')

10
lua/themes.lua Normal file
View File

@ -0,0 +1,10 @@
-- source file everytime it changes
vim.cmd([[
augroup user_theme_config
autocmd!
autocmd BufWritePost themes.lua source <afile>
augroup end
]])
vim.cmd [[colorscheme solarized]]
vim.opt.background = 'dark'