> finish
> endif
> let loaded_HH = 1
You mentioned in other mails that for testing, you're sourcing this file
multiple times. Since you can do this without error (e.g. redefining
functions without !, adding autocommands without clearing them first,
etc., are problematic if run twice) perhaps you don't the guard above
anyway. It won't matter if it's sourced twice. Also, since it doesn't
alter existing functionality (such as by mapping frequently used keys,
adding autocommands, changing highlighting, etc.) you may not need a way
to disable it (if you did, you would set loaded_HH in your .vimrc to
turn it off for a time).
> The ':redraw' command meant to skip the 'Press Enter to continue'
> message at the bottom of the screen saving me the trouble of having to
> hit Enter.. only works when creating the new tab page - (hc = 0). For
> the other two pipes that cause the screen to be split (hc ≥ 0) it does
> not.
Perhaps try to find the command which is causing messages to be output
and thereby triggering the 'Press Enter to Continue' message, and
prepend :silent to it.
> Another odd thing I noticed.. the syntax highlighting is badly off for
> these two lines:
>
> setl bt= | execute "vert help " a:s | execute ':redraw!'
> ..
> setl bt= | execute "help " a:s | execute ':redraw!'
>
> Maybe the syntax file does not like the 'setl bt=' with no value
> specified..?
No, it just doesn't allow for a bar ending a set command.
I think all that needs to change is line 293 of the vim.vim syntax file,
where the vimSet region end pattern needs to change from "$" to "|\|$".
That works for me. Chip/Bram, can you incorporate this?
Ben.
--
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