aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_lispwords.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-20 07:56:19 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-21 07:24:47 +0800
commitc72857d396f03fb570a3df4fa1abd074974f0c76 (patch)
tree32d5e90025a97ce0b9bbab83ef1bb470aee8d115 /src/nvim/testdir/test_lispwords.vim
parentc6dcc6acd84adbaed8e6bcba0cb5e42bffdf1732 (diff)
downloadrneovim-c72857d396f03fb570a3df4fa1abd074974f0c76.tar.gz
rneovim-c72857d396f03fb570a3df4fa1abd074974f0c76.tar.bz2
rneovim-c72857d396f03fb570a3df4fa1abd074974f0c76.zip
vim-patch:8.2.0358: insufficient testing for indent.c
Problem: Insufficient testing for indent.c. Solution: Add indent tests. (Yegappan Lakshmanan, closes vim/vim#5736) https://github.com/vim/vim/commit/bd7206e02c957f0619e68e1628e2a3e91dd41e06 Cherry-pick Test_ex_mode() changes from Vim patches 8.2.{0342,0347}. Reorder test_expand_func.vim to match upstream.
Diffstat (limited to 'src/nvim/testdir/test_lispwords.vim')
-rw-r--r--src/nvim/testdir/test_lispwords.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_lispwords.vim b/src/nvim/testdir/test_lispwords.vim
index aa5a738bdf..ff710b2716 100644
--- a/src/nvim/testdir/test_lispwords.vim
+++ b/src/nvim/testdir/test_lispwords.vim
@@ -45,6 +45,7 @@ func Test_lisp_indent()
\ ])
call assert_equal(7, lispindent(2))
call assert_equal(5, 6->lispindent())
+ call assert_equal(-1, lispindent(-1))
set lisp
set lispwords&
@@ -83,3 +84,5 @@ func Test_lisp_indent()
let &cpoptions=save_copt
set nolisp
endfunc
+
+" vim: shiftwidth=2 sts=2 expandtab