aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorwojciechkepka2021-06-19 11:52:28 +0000
committerBlaž Hrastnik2021-06-19 15:07:13 +0000
commit6825e195099de6e4eab64e26a230cf8a9c9521b7 (patch)
tree7424256c18f77eca9c12ec900a8722129c68c84e /helix-view
parent42e13bd5424581ec7ad299319e7f2f98a9832052 (diff)
Only reconfiure highlights when setting theme
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 83d5cbf6..35a547ad 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -85,7 +85,7 @@ impl Editor {
.language_configs_iter()
.filter(|cfg| cfg.is_highlight_initialized())
{
- config.highlight_config(scopes);
+ config.reconfigure(scopes);
}
self.theme = theme;