diff options
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r-- | src/nvim/optionstr.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c index 3a6b4c9936..c3cdd6e804 100644 --- a/src/nvim/optionstr.c +++ b/src/nvim/optionstr.c @@ -2005,6 +2005,15 @@ const char *did_set_winhighlight(optset_T *args) return NULL; } +/// The 'winborder' option is changed. +const char *did_set_winborder(optset_T *args) +{ + if (opt_strings_flags(p_winbd, opt_winborder_values, NULL, true) != OK) { + return e_invarg; + } + return NULL; +} + int expand_set_winhighlight(optexpand_T *args, int *numMatches, char ***matches) { return expand_set_opt_generic(args, get_highlight_name, numMatches, matches); |