patch 7.4.2201
Problem: The sign column disappears when the last sign is deleted.
Solution: Add the 'signcolumn' option. (Christian Brabandt)
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim
index cceb180..3ddf5e6 100644
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -16,7 +16,7 @@
set whichwrap&
endfunction
-function! Test_options()
+function Test_options()
let caught = 'ok'
try
options
@@ -29,7 +29,7 @@
close
endfunction
-function! Test_path_keep_commas()
+function Test_path_keep_commas()
" Test that changing 'path' keeps two commas.
set path=foo,,bar
set path-=bar
@@ -38,3 +38,11 @@
set path&
endfunction
+
+func Test_signcolumn()
+ call assert_equal("auto", &signcolumn)
+ set signcolumn=yes
+ set signcolumn=no
+ call assert_fails('set signcolumn=nope')
+endfunc
+