'guicursor': enabled=false if 'guicursor' is empty

Closes #6429
Closes #6430
This commit is contained in:
Justin M. Keyes
2017-04-03 16:16:21 +02:00
parent 9d560d5c6b
commit 3ccd59ee82
8 changed files with 49 additions and 42 deletions

View File

@@ -89,10 +89,8 @@ char_u *parse_shape_opt(int what)
int found_ve = false; /* found "ve" flag */
int round;
/*
* First round: check for errors; second round: do it for real.
*/
for (round = 1; round <= 2; ++round) {
// First round: check for errors; second round: do it for real.
for (round = 1; round <= 2; round++) {
// Repeat for all comma separated parts.
modep = p_guicursor;
if (*p_guicursor == NUL) {