perf: parse necessary values upfront

This commit no longer parses each highlight group, but rather user
config values only.
This commit is contained in:
mvllow 2024-01-23 14:54:34 -06:00
commit 03eccf56f1
No known key found for this signature in database
4 changed files with 80 additions and 76 deletions

View file

@ -94,14 +94,12 @@ require('rose-pine').setup({
git_text = "rose",
git_untracked = "subtle",
headings = {
h1 = "iris",
h2 = "foam",
h3 = "rose",
h4 = "gold",
h5 = "pine",
h6 = "foam",
},
h1 = "iris",
h2 = "foam",
h3 = "rose",
h4 = "gold",
h5 = "pine",
h6 = "foam",
},
highlight_groups = {