feat: add solarized dark theme
This commit is contained in:
parent
f1bc810412
commit
99aba01d79
@ -21,6 +21,9 @@ return require('packer').startup(function(use)
|
|||||||
-- Let Packer manage itself
|
-- Let Packer manage itself
|
||||||
use('wbthomason/packer.nvim')
|
use('wbthomason/packer.nvim')
|
||||||
|
|
||||||
|
-- Themes
|
||||||
|
use('altercation/vim-colors-solarized')
|
||||||
|
|
||||||
-- git commands
|
-- git commands
|
||||||
use('tpope/vim-fugitive')
|
use('tpope/vim-fugitive')
|
||||||
|
|
||||||
|
10
lua/themes.lua
Normal file
10
lua/themes.lua
Normal 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'
|
Reference in New Issue
Block a user