mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
uppercase theme variant names when displayed
This commit is contained in:
parent
8f7a83c8f8
commit
8c370c6824
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,8 @@ end
|
|||
|
||||
local select_variant = function(variant)
|
||||
vim.g.rose_pine_variant = variant
|
||||
print("Rosé Pine", variant)
|
||||
local formatted_variant = variant:sub(1, 1):upper() .. variant:sub(2)
|
||||
print("Rosé Pine", formatted_variant)
|
||||
vim.cmd([[colorscheme rose-pine]])
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue