aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-12-23 07:41:23 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-12-23 07:41:23 +0800
commit6714ea35ac202eb7a3902eaff89840dfd8c80b8d (patch)
tree427b24d76ae5fcc48f11998a7e5eb350e29f315d /src/nvim/testdir
parentb8d6ab04a221b55ae240a85a0aba0b6a8b261fb4 (diff)
downloadrneovim-6714ea35ac202eb7a3902eaff89840dfd8c80b8d.tar.gz
rneovim-6714ea35ac202eb7a3902eaff89840dfd8c80b8d.tar.bz2
rneovim-6714ea35ac202eb7a3902eaff89840dfd8c80b8d.zip
vim-patch:8.2.3482: reading beyond end of line ending in quote and backslash
Problem: Reading beyond end of line ending in quote and backslash. Solution: Check for non-NUL after backslash. (closes vim/vim#8964) https://github.com/vim/vim/commit/78e0fa4cf4fcd563c0bc8c87afa54d4f5dc22020
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_cindent.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cindent.vim b/src/nvim/testdir/test_cindent.vim
index bd556387c6..055b578593 100644
--- a/src/nvim/testdir/test_cindent.vim
+++ b/src/nvim/testdir/test_cindent.vim
@@ -5296,4 +5296,11 @@ func Test_cindent_pragma()
enew! | close
endfunc
+func Test_backslash_at_end_of_line()
+ new
+ exe "norm v>O'\\\<C-m>-"
+ exe "norm \<C-q>="
+ bwipe!
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab