This commit is contained in:
mvllow 2021-07-12 22:57:42 -05:00
commit 45a24037e4
4 changed files with 32 additions and 7 deletions

View file

@ -22,7 +22,9 @@ local toggle_variant = function(variants)
vim.g.rose_pine_variant_switch = index[vim.g.rose_pine_variant] or 0
end
vim.g.rose_pine_variant_switch = (vim.g.rose_pine_variant_switch % table.getn(options)) + 1
vim.g.rose_pine_variant_switch = (
vim.g.rose_pine_variant_switch % table.getn(options)
) + 1
select_variant(options[vim.g.rose_pine_variant_switch])
end