aboutsummaryrefslogtreecommitdiff
path: root/vis-cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-cmds.c')
-rw-r--r--vis-cmds.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/vis-cmds.c b/vis-cmds.c
index b3c1de8..a266bb4 100644
--- a/vis-cmds.c
+++ b/vis-cmds.c
@@ -79,17 +79,6 @@ static bool parse_bool(const char *s, bool *outval) {
static bool cmd_set(Vis *vis, Win *win, Command *cmd, const char *argv[], Cursor *cur, Filerange *range) {
- if (!vis->options) {
- if (!(vis->options = map_new()))
- return false;
- for (int i = 0; i < LENGTH(options); i++) {
- for (const char *const *name = options[i].names; *name; name++) {
- if (!map_put(vis->options, *name, &options[i]))
- return false;
- }
- }
- }
-
if (!argv[1] || argv[3]) {
vis_info_show(vis, "Expecting: set option [value]");
return false;