wombat.nvim/colors/wombat_lush.vim

21 lines
866 B
VimL
Raw Normal View History

2021-02-07 09:43:35 +00:00
" You probably always want to set this in your vim file
set background=dark
let g:colors_name='wombat_lush'
2021-02-07 09:43:35 +00:00
" By setting our module to nil, we clear lua's cache,
" which means the require ahead will *always* occur.
"
" This isn't strictly required but it can be a useful trick if you are
2021-04-09 01:45:47 +00:00
" incrementally editing your config a lot and want to be sure your themes
2021-02-07 09:43:35 +00:00
" changes are being picked up without restarting neovim.
"
2021-04-09 01:45:47 +00:00
" Note if you're working in on your theme and have :Lushify'd the buffer,
2021-02-07 09:43:35 +00:00
" your changes will be applied with our without the following line.
2021-04-09 01:45:47 +00:00
"
" The performance impact of this call can be measured in the hundreds of
" *nanoseconds* and such could be considered 'production safe'.
2021-02-07 09:43:35 +00:00
lua package.loaded['lush_theme.lush_template'] = nil
" include our theme file and pass it to lush to apply
lua require('lush')(require('lush_theme.wombat_lush'))