diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-06-11 15:10:05 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-06-11 15:10:30 +1000 |
| commit | 60cf71bc2435762467dc9b43d99ee687a7306480 (patch) | |
| tree | f81c455d07c9a7523127ffe8b86aa79867ba9f21 /src/highlighter_group.cc | |
| parent | 3208bc37624f1ba4b5796952729f12e7758a8e51 (diff) | |
Pass DisplaySetup through the HighlightContext
Diffstat (limited to 'src/highlighter_group.cc')
| -rw-r--r-- | src/highlighter_group.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highlighter_group.cc b/src/highlighter_group.cc index f7758be0..173d8348 100644 --- a/src/highlighter_group.cc +++ b/src/highlighter_group.cc @@ -80,7 +80,7 @@ void Highlighters::highlight(HighlightContext context, DisplayBuffer& display_bu m_group.fill_unique_ids(disabled_ids); if (m_parent) - m_parent->highlight({context.context, context.pass, disabled_ids}, display_buffer, range); + m_parent->highlight({context.context, context.setup, context.pass, disabled_ids}, display_buffer, range); m_group.highlight(context, display_buffer, range); } @@ -90,7 +90,7 @@ void Highlighters::compute_display_setup(HighlightContext context, DisplaySetup& m_group.fill_unique_ids(disabled_ids); if (m_parent) - m_parent->compute_display_setup({context.context, context.pass, disabled_ids}, setup); + m_parent->compute_display_setup({context.context, context.setup, context.pass, disabled_ids}, setup); m_group.compute_display_setup(context, setup); } |
