mirror of
https://github.com/ViViDboarder/wombat.nvim.git
synced 2024-11-09 15:46:27 +00:00
ea2ca3916a
Uses new experimental API
20 lines
846 B
VimL
20 lines
846 B
VimL
" You probably always want to set this in your vim file
|
|
let g:colors_name='wombat_lush'
|
|
|
|
" 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
|
|
" incrementally editing your config a lot and want to be sure your themes
|
|
" changes are being picked up without restarting neovim.
|
|
"
|
|
" Note if you're working in on your theme and have :Lushify'd the buffer,
|
|
" your changes will be applied with our without the following line.
|
|
"
|
|
" The performance impact of this call can be measured in the hundreds of
|
|
" *nanoseconds* and such could be considered 'production safe'.
|
|
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'))
|