fix(theme): correct scope for internal imports in apply function
This commit is contained in:
+2
-1
@@ -186,7 +186,8 @@ def apply(palette_name: str) -> None:
|
||||
global _current_palette
|
||||
_current_palette = palette_name
|
||||
if palette_name == 'NERV':
|
||||
src.theme_nerv.apply_nerv()
|
||||
from src import theme_nerv
|
||||
theme_nerv.apply_nerv()
|
||||
apply_syntax_palette(get_syntax_palette_for_theme(palette_name))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user