colorscheme: Add capability to include schemes (#2844)

This commit is contained in:
Jöran Karl
2024-03-21 18:37:51 +01:00
committed by GitHub
parent b518bda50c
commit 4895a29be2
4 changed files with 55 additions and 50 deletions

View File

@@ -65,7 +65,7 @@ color-link constant "#AE81FF,#282828"
color-link constant.string "#E6DB74,#282828"
color-link constant.string.char "#BDE6AD,#282828"`
c, err := ParseColorscheme(testColorscheme)
c, err := ParseColorscheme("testColorscheme", testColorscheme, nil)
assert.Nil(t, err)
fg, bg, _ := c["comment"].Decompose()