summaryrefslogtreecommitdiff
path: root/src/window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cc')
-rw-r--r--src/window.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/window.cc b/src/window.cc
index ffe15687..21f3ed74 100644
--- a/src/window.cc
+++ b/src/window.cc
@@ -23,7 +23,9 @@ void expand_unprintable(const Context& context, HighlightPass pass, DisplayBuffe
Window::Window(Buffer& buffer)
: Scope(buffer),
- m_buffer(&buffer)
+ m_buffer(&buffer),
+ m_highlighters{HighlightPass::All},
+ m_builtin_highlighters{HighlightPass::All}
{
run_hook_in_own_context("WinCreate", buffer.name());