From a35e7ea9619efbb8fb8655bd80374199911d8404 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Fri, 11 Aug 2023 21:46:37 -0600 Subject: sam.c: rename a number of options to match lua api --- sam.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sam.c') diff --git a/sam.c b/sam.c index 60d204e..a1e120c 100644 --- a/sam.c +++ b/sam.c @@ -332,22 +332,22 @@ static const OptionDef options[] = { VIS_HELP("Number of spaces to display (and insert if `expandtab` is enabled) for a tab") }, [OPTION_SHOW_SPACES] = { - { "show-spaces" }, + { "showspaces" }, VIS_OPTION_TYPE_BOOL|VIS_OPTION_NEED_WINDOW, VIS_HELP("Display replacement symbol instead of a space") }, [OPTION_SHOW_TABS] = { - { "show-tabs" }, + { "showtabs" }, VIS_OPTION_TYPE_BOOL|VIS_OPTION_NEED_WINDOW, VIS_HELP("Display replacement symbol for tabs") }, [OPTION_SHOW_NEWLINES] = { - { "show-newlines" }, + { "shownewlines" }, VIS_OPTION_TYPE_BOOL|VIS_OPTION_NEED_WINDOW, VIS_HELP("Display replacement symbol for newlines") }, [OPTION_SHOW_EOF] = { - { "show-eof" }, + { "showeof" }, VIS_OPTION_TYPE_BOOL|VIS_OPTION_NEED_WINDOW, VIS_HELP("Display replacement symbol for lines after the end of the file") }, @@ -382,7 +382,7 @@ static const OptionDef options[] = { VIS_HELP("How to load existing files 'auto', 'read' or 'mmap'") }, [OPTION_CHANGE_256COLORS] = { - { "change-256colors" }, + { "change256colors" }, VIS_OPTION_TYPE_BOOL, VIS_HELP("Change 256 color palette to support 24bit colors") }, -- cgit v1.2.3