summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpierroelmito <pierre.clement@gmail.com>2016-04-30 11:59:53 +0200
committerpierroelmito <pierre.clement@gmail.com>2016-04-30 11:59:53 +0200
commit3044eff3569691ee54bfda9f585a6123625a30ca (patch)
tree8ae0a827c7ba133684b76a113f2da4b2a7683254 /src
parentd4b8e28d0a48607f873d79323f03a2fa7c8c11b6 (diff)
fix whitespace label
The author of this work hereby waives all claim of copyright (economic and moral) in this work and immediately places it in the public domain; it may be used, distorted or destroyed in any manner whatsoever without further attribution or notice to the creator
Diffstat (limited to 'src')
-rw-r--r--src/face_registry.cc2
-rw-r--r--src/highlighters.cc2
2 files changed, 2 insertions, 2 deletions
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<int>();
- auto whitespaceface = get_face("WhiteSpace");
+ auto whitespaceface = get_face("Whitespace");
auto& buffer = context.buffer();
for (auto& line : display_buffer.lines())
{