From 58b0bd6f636496945cbce3d003ef4d222cf014b5 Mon Sep 17 00:00:00 2001 From: Delapouite Date: Thu, 14 Sep 2017 23:19:55 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20typo:=20parmeter=20=E2=86=92=20parameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/highlighters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/highlighters.cc b/src/highlighters.cc index 56054f73..cb4c2e1d 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -985,7 +985,7 @@ HighlighterAndId show_whitespaces_factory(HighlighterParameters params) auto get_param = [&](StringView param, StringView fallback) { StringView value = parser.get_switch(param).value_or(fallback); if (value.char_length() != 1) - throw runtime_error{format("-{} expects a single character parmeter", param)}; + throw runtime_error{format("-{} expects a single character parameter", param)}; return value.str(); };