diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-19 13:28:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 13:28:50 -0800 |
commit | 198d94da0b6ecd90911f00765f2a1fca9866524c (patch) | |
tree | 015e30efbf18188c34237ca601d8da3f37312d02 | |
parent | 75c2c4e1b4c4fdd907c6858812552b8e85a207fe (diff) | |
parent | f5cc5153c6a73af50b034676e116b667892ababe (diff) | |
download | rneovim-198d94da0b6ecd90911f00765f2a1fca9866524c.tar.gz rneovim-198d94da0b6ecd90911f00765f2a1fca9866524c.tar.bz2 rneovim-198d94da0b6ecd90911f00765f2a1fca9866524c.zip |
Merge #11737 from janlazo/vim-8.1.2421
vim-patch:8.1.{2031,2421}
-rwxr-xr-x | scripts/vim-patch.sh | 2 | ||||
-rw-r--r-- | src/nvim/screen.c | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_python2.vim | 2 | ||||
-rw-r--r-- | src/nvim/testdir/test_python3.vim | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index d76c8573c9..ff78cb82f7 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -560,6 +560,7 @@ list_missing_previous_vimpatches_for_patch() { local -a missing_vim_patches=() _set_missing_vimpatches 1 -- "${fname}" + set +u # Avoid "unbound variable" with bash < 4.4 below. local missing_vim_commit_info="${missing_vim_patches[0]}" if [[ -z "${missing_vim_commit_info}" ]]; then printf -- "-\n" @@ -572,6 +573,7 @@ list_missing_previous_vimpatches_for_patch() { printf -- "-\n" fi fi + set -u done set +u # Avoid "unbound variable" with bash < 4.4 below. diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 24ad012201..047af8db75 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -3868,6 +3868,7 @@ win_line ( } wp->w_wrow = row; did_wcol = true; + curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL; } // Don't override visual selection highlighting. diff --git a/src/nvim/testdir/test_python2.vim b/src/nvim/testdir/test_python2.vim index 9628a298b9..5895ac85a8 100644 --- a/src/nvim/testdir/test_python2.vim +++ b/src/nvim/testdir/test_python2.vim @@ -1,5 +1,5 @@ " Test for python 2 commands. -" TODO: move tests from test87.in here. +" TODO: move tests from test86.in here. if !has('python') finish diff --git a/src/nvim/testdir/test_python3.vim b/src/nvim/testdir/test_python3.vim index 31e0142bf4..637648817c 100644 --- a/src/nvim/testdir/test_python3.vim +++ b/src/nvim/testdir/test_python3.vim @@ -1,5 +1,5 @@ " Test for python 3 commands. -" TODO: move tests from test88.in here. +" TODO: move tests from test87.in here. if !has('python3') finish |