We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfaa54b commit 45a25e1Copy full SHA for 45a25e1
internal/config/style.go
@@ -320,8 +320,8 @@ func GetChromaStyle(themeName string) *chroma.Style {
320
chromaMutex.Lock()
321
defer chromaMutex.Unlock()
322
323
- if style, ok := chromaStyles.Registry[customThemeName]; ok {
324
- return style
+ if chromaStyle, ok := chromaStyles.Registry[customThemeName]; ok {
+ return chromaStyle
325
}
326
327
styleConfig := getTheme(themeName)
0 commit comments