diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-05-22 07:52:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-22 07:52:11 +0800 |
| commit | 5193b17839c6524bb72ca35cbfc477c4ddd8ef13 (patch) | |
| tree | 21e24fa0827db2c647b17b4a2ba9acd4240e3c3d /src/nvim/testdir | |
| parent | 0c4086faa17db46d27d4743095a8f16709bcf278 (diff) | |
| download | rneovim-5193b17839c6524bb72ca35cbfc477c4ddd8ef13.tar.gz rneovim-5193b17839c6524bb72ca35cbfc477c4ddd8ef13.tar.bz2 rneovim-5193b17839c6524bb72ca35cbfc477c4ddd8ef13.zip | |
vim-patch:8.2.4993: smart/C/lisp indenting is optional (#18684)
Problem: smart/C/lisp indenting is optional, which makes the code more
complex, while it only reduces the executable size a bit.
Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
https://github.com/vim/vim/commit/8e145b82464a21ee4fdf7948f04e2a1d505f8bfa
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_edit.vim | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim index 848666727f..bd080147fb 100644 --- a/src/nvim/testdir/test_edit.vim +++ b/src/nvim/testdir/test_edit.vim @@ -395,15 +395,13 @@ endfunc func Test_edit_13() " Test smartindenting - if exists("+smartindent") - new - set smartindent autoindent - call setline(1, ["\tabc"]) - call feedkeys("A {\<cr>more\<cr>}\<esc>", 'tnix') - call assert_equal(["\tabc {", "\t\tmore", "\t}"], getline(1, '$')) - set smartindent& autoindent& - bwipe! - endif + new + set smartindent autoindent + call setline(1, ["\tabc"]) + call feedkeys("A {\<cr>more\<cr>}\<esc>", 'tnix') + call assert_equal(["\tabc {", "\t\tmore", "\t}"], getline(1, '$')) + set smartindent& autoindent& + bwipe! " Test autoindent removing indent of blank line. new |