aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/undolevels_spec.lua
diff options
context:
space:
mode:
authorNova <novadev94@gmail.com>2016-09-21 17:15:37 +0700
committerNova <novadev94@gmail.com>2016-09-22 01:46:30 +0700
commita20a00459c8e9272f6dc9b09f42b7ff329da0eea (patch)
tree8af629876451baccff1c7335955d6426f68ea295 /test/functional/legacy/undolevels_spec.lua
parentbaf91a455c50ce146230c4cd32c6aedcfa7b9f80 (diff)
downloadrneovim-a20a00459c8e9272f6dc9b09f42b7ff329da0eea.tar.gz
rneovim-a20a00459c8e9272f6dc9b09f42b7ff329da0eea.tar.bz2
rneovim-a20a00459c8e9272f6dc9b09f42b7ff329da0eea.zip
vim-patch:7.4.1740
Problem: syn-cchar defined with matchadd() does not appear if there are no other syntax definitions which matches buffer text. Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes vim/vim#757) https://github.com/vim/vim/commit/4d585022023b96f6507e8cae5ed8fc8d926f5140
Diffstat (limited to 'test/functional/legacy/undolevels_spec.lua')
-rw-r--r--test/functional/legacy/undolevels_spec.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/functional/legacy/undolevels_spec.lua b/test/functional/legacy/undolevels_spec.lua
index 9902b101f6..1dfc4c17ba 100644
--- a/test/functional/legacy/undolevels_spec.lua
+++ b/test/functional/legacy/undolevels_spec.lua
@@ -10,7 +10,7 @@ describe('undolevel', function()
func FillBuffer()
for i in range(1,13)
put=i
- " Set 'undolevels' to split undo.
+ " Set 'undolevels' to split undo.
exe "setg ul=" . &g:ul
endfor
endfunc
@@ -48,6 +48,10 @@ describe('undolevel', function()
call assert_equal(50, &g:undolevels)
call assert_equal(-123456, &l:undolevels)
+ " Drop created windows
+ set ul&
+ new
+ only!
endfunc
call Test_global_local_undolevels()