We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82ad980 commit 79c7851Copy full SHA for 79c7851
functions.py
@@ -127,7 +127,7 @@ def get_style(color_scheme):
127
if os.path.exists(USER_STYLE_FILE):
128
with open(USER_STYLE_FILE) as fp:
129
css += '\n' + fp.read() + '\n'
130
- if color_scheme:
+ if color_scheme and color_scheme.endswith('.tmTheme'):
131
css += pygments_from_theme(get_resource(color_scheme))
132
return ''.join([line.strip() + ' ' for line in css.splitlines()])
133
0 commit comments