Hi

Ex command ":options" gives errors with latest Vim-7.3b BETA
(2378:b67b0b5a93d3):

$ vim -u NONE
:options
Error detected while processing function <SNR>1_OptionL:
line    2:
E113: Unknown option: conc
E116: Invalid arguments for function substitute(&conc, "[
\\t\\\\\"|]", "\\\\\\0", "g")
E15: Invalid expression: substitute(&conc, "[ \\t\\\\\"|]", "\\\\\\0", "g")
line    4:
E121: Undefined variable: val
E116: Invalid arguments for function append

Attached patch fixes it.
-- Dominique

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r b67b0b5a93d3 runtime/optwin.vim
--- a/runtime/optwin.vim	Fri Jul 23 22:27:03 2010 +0200
+++ b/runtime/optwin.vim	Sat Jul 24 10:15:24 2010 +0200
@@ -374,9 +374,12 @@
   call <SID>OptionL("nuw")
 endif
 if has("conceal")
+  call append("$", "concealcursor\tset the modes in which text in cursor line can be concealed")
+  call append("$", "\t(local to window)")
+  call <SID>OptionL("cocu")
   call append("$", "conceallevel\tcontrols whether concealable elements are hidden")
   call append("$", "\t(local to window)")
-  call <SID>OptionL("conc")
+  call <SID>OptionL("cole")
 endif
 
 

Raspunde prin e-mail lui