diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-08 14:58:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-08 14:58:47 -0700 |
commit | d91f4cd7d0b9778ad8ed630d5b8dc6b197513f51 (patch) | |
tree | 2dabbf51abe17ab681631b0b0df9baa068cfbfb3 /test | |
parent | 77a93957d3d03f41d7a71ad60b0e59b108b828be (diff) | |
download | rneovim-d91f4cd7d0b9778ad8ed630d5b8dc6b197513f51.tar.gz rneovim-d91f4cd7d0b9778ad8ed630d5b8dc6b197513f51.tar.bz2 rneovim-d91f4cd7d0b9778ad8ed630d5b8dc6b197513f51.zip |
paste: reset 'paste' option immediately #10974
- Workaround #10966: 'paste' option is not always reset.
- In any case there's not much reason to wait until phase=3, because
pasting in cmdline-mode skips lines after the first line (thus the
`:set paste .. :set nopaste` dance happens only ~once).
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/terminal/tui_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index 56c1cc0d7b..e0d29d27ff 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -505,7 +505,7 @@ describe('TUI', function() | {4:~ }| {5: }| - {8:paste: Error executing lua: vim.lua:196: Vim:E21: }| + {8:paste: Error executing lua: vim.lua:197: Vim:E21: }| {8:Cannot make changes, 'modifiable' is off} | {10:Press ENTER or type command to continue}{1: } | {3:-- TERMINAL --} | |