aboutsummaryrefslogtreecommitdiff
path: root/vis-cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-cmds.c')
-rw-r--r--vis-cmds.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/vis-cmds.c b/vis-cmds.c
index fe1ab77..3b5da78 100644
--- a/vis-cmds.c
+++ b/vis-cmds.c
@@ -364,6 +364,15 @@ static bool cmd_set(Vis *vis, Win *win, Command *cmd, const char *argv[], Select
case OPTION_IGNORECASE:
vis->ignorecase = toggle ? !vis->ignorecase : arg.b;
break;
+ case OPTION_BREAKAT:
+ if (!view_breakat_set(win->view, arg.s)) {
+ vis_info_show(vis, "Failed to set breakat");
+ return false;
+ }
+ break;
+ case OPTION_WRAP_COLUMN:
+ view_wrapcolumn_set(win->view, arg.i);
+ break;
default:
if (!opt->func)
return false;