diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-03 16:16:21 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-04 14:19:26 +0200 |
commit | 3ccd59ee8216f3da812c5cf81eb392e6a95b539a (patch) | |
tree | 218958ab0e2d7b7e359778f68a56079da47a3c2d /src/nvim/cursor_shape.c | |
parent | 9d560d5c6b02d34690ca47ee6f32e31ee4a6d90e (diff) | |
download | rneovim-3ccd59ee8216f3da812c5cf81eb392e6a95b539a.tar.gz rneovim-3ccd59ee8216f3da812c5cf81eb392e6a95b539a.tar.bz2 rneovim-3ccd59ee8216f3da812c5cf81eb392e6a95b539a.zip |
'guicursor': enabled=false if 'guicursor' is empty
Closes #6429
Closes #6430
Diffstat (limited to 'src/nvim/cursor_shape.c')
-rw-r--r-- | src/nvim/cursor_shape.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/cursor_shape.c b/src/nvim/cursor_shape.c index 7ec70bb724..34ee53bf75 100644 --- a/src/nvim/cursor_shape.c +++ b/src/nvim/cursor_shape.c @@ -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) { |