diff --git a/src/face_registry.cc b/src/face_registry.cc index 644802df..a8fd0d8a 100644 --- a/src/face_registry.cc +++ b/src/face_registry.cc @@ -121,7 +121,7 @@ FaceRegistry::FaceRegistry() { "Prompt", Face{ Color::Yellow, Color::Default } }, { "MatchingChar", Face{ Color::Default, Color::Default, Attribute::Bold } }, { "BufferPadding", Face{ Color::Blue, Color::Default } }, - { "WhiteSpace", Face{ Color::Default, Color::Default } }, + { "Whitespace", Face{ Color::Default, Color::Default } }, } {} diff --git a/src/highlighters.cc b/src/highlighters.cc index 70ba867d..eaa19567 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -683,7 +683,7 @@ void expand_tabulations(const Context& context, HighlightFlags flags, DisplayBuf void show_whitespaces(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer, BufferRange) { const int tabstop = context.options()["tabstop"].get(); - auto whitespaceface = get_face("WhiteSpace"); + auto whitespaceface = get_face("Whitespace"); auto& buffer = context.buffer(); for (auto& line : display_buffer.lines()) {