aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sam.c b/sam.c
index 82463eb..fdbc4e4 100644
--- a/sam.c
+++ b/sam.c
@@ -289,6 +289,7 @@ enum {
OPTION_SHOW_SPACES,
OPTION_SHOW_TABS,
OPTION_SHOW_NEWLINES,
+ OPTION_SHOW_EOF,
OPTION_NUMBER,
OPTION_NUMBER_RELATIVE,
OPTION_CURSOR_LINE,
@@ -338,6 +339,11 @@ static const OptionDef options[] = {
VIS_OPTION_TYPE_BOOL|VIS_OPTION_NEED_WINDOW,
VIS_HELP("Display replacement symbol for newlines")
},
+ [OPTION_SHOW_EOF] = {
+ { "show-eof" },
+ VIS_OPTION_TYPE_BOOL|VIS_OPTION_NEED_WINDOW,
+ VIS_HELP("Display replacement symbol for lines after the end of the file")
+ },
[OPTION_NUMBER] = {
{ "numbers", "nu" },
VIS_OPTION_TYPE_BOOL|VIS_OPTION_NEED_WINDOW,