From ed62e72a982c782623028d3543a8d3c243bef424 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Thu, 14 Mar 2019 18:40:05 +0100 Subject: [PATCH] Warn when a line in the config file is invalid --- kitty/conf/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/conf/utils.py b/kitty/conf/utils.py index 96b7f03d1..e7e358d52 100644 --- a/kitty/conf/utils.py +++ b/kitty/conf/utils.py @@ -61,6 +61,7 @@ def parse_line(line, type_map, special_handling, ans, all_keys, base_path_for_in return m = key_pat.match(line) if m is None: + log_error('Ignoring invalid config line: {}'.format(line)) return key, val = m.groups() if special_handling(key, val, ans):