diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-26 03:38:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-26 03:38:54 -0500 |
commit | c64cce906e7ed828d331e1786c985ff7aa734546 (patch) | |
tree | 5f8913cf05a046d2ec23840915d8bb1884db768f /test/functional/ui/screen.lua | |
parent | 84faeb07d0018c674c2bc730333fefae6123f366 (diff) | |
parent | 44bb7147e40743d9a70ee3a2663a7a7dacec7b13 (diff) | |
download | rneovim-c64cce906e7ed828d331e1786c985ff7aa734546.tar.gz rneovim-c64cce906e7ed828d331e1786c985ff7aa734546.tar.bz2 rneovim-c64cce906e7ed828d331e1786c985ff7aa734546.zip |
Merge pull request #10848 from janlazo/vim-8.1.1189
vim-patch:8.1.{822,1189,1192}
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 8fa9fcc42f..5104c58796 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -807,7 +807,9 @@ function Screen:_handle_mouse_off() end function Screen:_handle_mode_change(mode, idx) - assert(mode == self._mode_info[idx+1].name) + if self._mode_info ~= nil then + assert(mode == self._mode_info[idx+1].name) + end self.mode = mode end |