Skip to content

Commit bc31522

Browse files
committed
Fix syntax highlighting theme config
Looks like the priority flipped in fe74aff inadvertently so the git config no longer overrides. Fixed it.
1 parent d77bcc4 commit bc31522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/getConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function getConfig(gitConfig: GitConfig): Config {
2323
...CONFIG_DEFAULTS,
2424
...theme,
2525
...gitConfig,
26-
SYNTAX_HIGHLIGHTING_THEME: (theme.SYNTAX_HIGHLIGHTING_THEME ??
27-
gitConfig.SYNTAX_HIGHLIGHTING_THEME) as shiki.BundledTheme,
26+
SYNTAX_HIGHLIGHTING_THEME: (gitConfig.SYNTAX_HIGHLIGHTING_THEME ??
27+
theme.SYNTAX_HIGHLIGHTING_THEME) as shiki.BundledTheme,
2828
};
2929
}

0 commit comments

Comments
 (0)