}
#endif
+#ifdef FEAT_TERMINAL
+ /* 'termsize' */
+ else if (varp == &curwin->w_p_tms)
+ {
+ if (*curwin->w_p_tms != NUL)
+ {
+ p = skipdigits(curwin->w_p_tms);
+ if (p == curwin->w_p_tms || *p != 'x' || *skipdigits(p + 1) != NUL)
+ errmsg = e_invarg;
+ }
+ }
+#endif
+
/* Options that are a list of flags. */
else
{
\ 'switchbuf': [['', 'useopen', 'split,newtab'], ['xxx']],
\ 'tagcase': [['smart', 'match'], ['', 'xxx', 'smart,match']],
\ 'term': [[], []],
+ \ 'termsize': [['', '24x80', '0x80', '32x0', '0x0'], ['xxx', '80', '8ax9', '24x80b']],
\ 'toolbar': [['', 'icons', 'text'], ['xxx']],
\ 'toolbariconsize': [['', 'tiny', 'huge'], ['xxx']],
\ 'ttymouse': [['', 'xterm'], ['xxx']],