diff options
author | Andrés <andmarti@gmail.com> | 2021-03-14 09:20:37 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-03-14 09:20:37 -0300 |
commit | e2ab6de106528c1674686e0081a541df99afc574 (patch) | |
tree | f35172d2bc9c8a27728c31911fe5b12b9c233f54 /src/gram.y | |
parent | c4372c31ce07f6fce8b41486f6b8ba2956965a96 (diff) |
added new underline_grid config value to show a nicer grid
Diffstat (limited to 'src/gram.y')
-rwxr-xr-x | src/gram.y | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -244,6 +244,7 @@ token S_YANKCOL %token K_OVERLAP %token K_NOOVERLAP %token K_INPUT_BAR_BOTTOM +%token K_UNDERLINE_GRID %token K_TRUNCATE %token K_NOTRUNCATE %token K_QUIT_AFTERLOAD @@ -1061,15 +1062,18 @@ setitem : | K_OVERLAP '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "overlap=0", TRUE); else parse_str(user_conf_d, "overlap=1", TRUE); } | K_OVERLAP { parse_str(user_conf_d, "overlap=1", TRUE); } - | K_INPUT_BAR_BOTTOM '=' NUMBER { - if ($3 == 0) parse_str(user_conf_d, "input_bar_bottom=0", TRUE); - else parse_str(user_conf_d, "input_bar_bottom=1", TRUE); - ui_mv_bottom_bar(); - } + | K_INPUT_BAR_BOTTOM '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "input_bar_bottom=0", TRUE); + else parse_str(user_conf_d, "input_bar_bottom=1", TRUE); + ui_mv_bottom_bar(); } | K_INPUT_BAR_BOTTOM { parse_str(user_conf_d, "input_bar_bottom=1", TRUE); ui_mv_bottom_bar(); } + | K_UNDERLINE_GRID '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "underline_grid=0", TRUE); + else parse_str(user_conf_d, "underline_grid=1", TRUE); } + | K_UNDERLINE_GRID { parse_str(user_conf_d, "underline_grid=1", TRUE); + } + | K_NOOVERLAP { parse_str(user_conf_d, "overlap=0", TRUE); } | K_TRUNCATE '=' NUMBER { if ($3 == 0) parse_str(user_conf_d, "truncate=0", TRUE); |