summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-10-06 13:47:30 +0800
committerMaxime Coste <mawww@kakoune.org>2017-10-06 13:47:30 +0800
commit75d2eb2b79856800f322b486aab3d244c66569a1 (patch)
treef395d6da6b4d754e355b3eccd0ce1b746e237528 /src
parent2f251c9861dfdc4c07a60295b6cdfe093dbd7b59 (diff)
formatting tweak
Diffstat (limited to 'src')
-rw-r--r--src/highlighters.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlighters.cc b/src/highlighters.cc
index b1b48583..d21af0af 100644
--- a/src/highlighters.cc
+++ b/src/highlighters.cc
@@ -517,7 +517,7 @@ HighlighterAndId create_dynamic_regex_highlighter(HighlighterParameters params)
GlobalScope::instance().options()[tokens[0].content].is_of_type<Regex>())
{
String option_name = tokens[0].content;
- auto get_regex = [option_name](const Context& context) {
+ auto get_regex = [option_name](const Context& context) {
return context.options()[option_name].get<Regex>();
};
return {format("dynregex_{}", expr), make_dynamic_regex_highlighter(get_regex, get_face)};