> On 2011-03-30 Tony Mechelynck<antoine.mechelynck@gmail.com> wrote:
>
>>>> Dashes work in the hyperlinks for the Vim help, so if
>>>> I were you I'd look at the modelines (see ":help
>>>> modeline") for several of these Vim helpfiles (their
>>>> modelines are not all identical) and copy a typical
>>>> one at the end of your custom helpfiles.
>>>
>>> I copied working modelines into my help files, but the problem persists.
>>>
>>> Marco
>>>
>>
>> Well, what does Vim answer when you type
>>
>> :verbose set ft? isk?
>> :filetype
>>
>> (starting from Normal mode of course) in one of those
>> helpfiles ?
>
> Normal file:
> filetype=
> iskeyword=@,48-57,_,192-255
> filetype detection:ON plugin:ON indent:ON
>
> My help file:
> filetype=help
> Last set from modeline
> iskeyword=@,48-57,_,192-255
> filetype detection:ON plugin:ON indent:ON
>
> I used the following modeline
> vim:tw=78:ts=8:ft=help:norl:
>
>
> Marco
>
>
Well, at the end of the main help file (help.txt) I see the following:
vim:tw=78:fo=tcq2:isk=!-~,^*,^\|,^\":ts=8:ft=help:norl:
which might be what you want. Notice that unlike yours, it changes the
'iskeyword' option setting to include almost everything from 0x21 to
0x7E (the dash is 0x2D). As is said under :help 'iskeyword':
> For a help file it is set to all non-blank printable characters except
> '*', '"' and '|' (so that CTRL-] on a command finds the help for that
> command).
Best regards,
Tony.
--
You will be surprised by a loud noise.
--
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
No comments:
Post a Comment