diff options
| author | Delapouite <delapouite@gmail.com> | 2017-09-14 23:19:55 +0200 |
|---|---|---|
| committer | Delapouite <delapouite@gmail.com> | 2017-09-14 23:19:55 +0200 |
| commit | 58b0bd6f636496945cbce3d003ef4d222cf014b5 (patch) | |
| tree | 11001f05ee40a3ebb075b58d04cac49439b9635c /src | |
| parent | 772f85b88344e7f6d6b405c74a2239a474c1c9ac (diff) | |
Fix typo: parmeter → parameter
Diffstat (limited to 'src')
| -rw-r--r-- | src/highlighters.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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(); }; |
