On 11/07/11 22:33, niva wrote:


On 11 juil, 21:48, Bram Moolenaar<b...@moolenaar.net>  wrote:
Tony Mechelynck wrote:
On 10/07/11 14:50, niva wrote:
Hi,

I recently install Vim 7.3 under win seven and I got some errors when
I navigate through vim's help system.

"pattern.txt" [RO] 1289L, 54946C
Erreur d tect e en traitant C:\Program Files (x86)\Vim\vim73\ftplugin
\help.vim :
ligne   16 :
E518: Option inconnue: cole=2
Erreur d tect e en traitant C:\Program Files (x86)\Vim\vim73\syntax
\help.vim :
ligne   24 :
E475: Argument invalide : helpBar^I^Icontained "|" conceal

Maybe comes from Program Files (x86)

Thank you for help

Hm, it seems that the latest versions of ftplugin/help.vim and
syntax/help.vim don't make provision for the possibility that the
+conceal feature might have been left out at compile-time. I'm adding
the maintainers of these scripts to the CC list of this post.

Niva, you've found a bug in the runtime files: there should be ":if
has('conceal')" bracketing where appropriate.

Yeah, I'll update the syntax file.

--
This sentence is not sure that it exists, but if it does, it will
certainly consider the possibility that other sentences exist.

  /// Bram Moolenaar -- b...@moolenaar.net --http://www.Moolenaar.net  \\\
///        sponsor Vim, vote for features --http://www.Vim.org/sponsor/\\\
\\\  an exciting new programming language --http://www.Zimbu.org       ///
  \\\            help me help AIDS victims --http://ICCF-Holland.org   ///


With the help.vim file modified with this :


I got those errors when I search for modifiable files
:h modifiable
" setlocal formatoptions+=tcroql textwidth=78 cole=2 cocu=nc
setlocal formatoptions+=tcroql textwidth=78
if has("conceal")
  setlocal cole=2 cocu=nc
endif

"options.txt" [RO] 8049L, 351601C
Erreur détectée en traitant C:\Program Files (x86)\Vim\vim73\syntax
\help.vim :
ligne   24 :
E475: Argument invalide : helpBar^I^Icontained "|" conceal
ligne   25 :
E475: Argument invalide : helpStar^I^Icontained "\*" conceal
ligne   33 :
E475: Argument invalide : helpIgnore^I^I"." contained conceal
Erreur détectée en traitant function<SNR>10_LoadFTPlugin :
ligne    2 :
E518: Option inconnue: cole<
Erreur détectée en traitant C:\Program Files (x86)\Vim\vim73\syntax
\help.vim :
ligne   24 :
E475: Argument invalide : helpBar^I^Icontained "|" conceal
ligne   25 :
E475: Argument invalide : helpStar^I^Icontained "\*" conceal
ligne   33 :
E475: Argument invalide : helpIgnore^I^I"." contained conceal


Yeah, that's the other half of the bug you found. I think (and hope) that Bram (maintainer of that syntax script) will update both syntax/help.vim and ftplugin/help.vim, since AFAICT Nikolai Weibull (maintainer of the ftplugin) has washed his hands of it.

Best regards,
Tony.
--
I'd like to meet the man who invented sex and see what he's working on
now.

--
You received this message from the "vim_use" 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

Reply via email to