aboutsummaryrefslogtreecommitdiff
path: root/vis-cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-cmds.c')
-rw-r--r--vis-cmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vis-cmds.c b/vis-cmds.c
index ec70231..a49195e 100644
--- a/vis-cmds.c
+++ b/vis-cmds.c
@@ -269,11 +269,13 @@ static bool cmd_set(Vis *vis, Win *win, Command *cmd, const char *argv[], Cursor
case OPTION_SHOW_SPACES:
case OPTION_SHOW_TABS:
case OPTION_SHOW_NEWLINES:
+ case OPTION_SHOW_EOF:
{
const int values[] = {
[OPTION_SHOW_SPACES] = UI_OPTION_SYMBOL_SPACE,
[OPTION_SHOW_TABS] = UI_OPTION_SYMBOL_TAB|UI_OPTION_SYMBOL_TAB_FILL,
[OPTION_SHOW_NEWLINES] = UI_OPTION_SYMBOL_EOL,
+ [OPTION_SHOW_EOF] = UI_OPTION_SYMBOL_EOF,
};
int flags = view_options_get(win->view);
if (arg.b || (toggle && !(flags & values[opt_index])))