in more exact terms, commands prior to insert are highlighted according to
vim file-type syntax according to the syntax items and groups applicable,
which vimCommand happens to be one of them.

what is annoying, that i don't know how to rescue my syntax back except for
restarting the program from anew.

thanks again.

Stahlman Family wrote:
> 
> 
> 
> On Jun 12, 6:43 am, aleCodd <[email protected]> wrote:
>> I like to use the command line window (i.e. <ctrl-f> in command line)
>> instead
>> of command line (because of syntax coloring, better control of
>> abbreviation
>> because it can alternate between insert and normal mode and affect the
>> lhs
>> of the abbreviation).
>>
>> but for some reason, syntax will disappear after some commands, this time
>> it
>> was after the :insert command.why?
> 
> Hmmm... Yes. The insert command causes all subsequent commands in the
> command line window to be highlighted as vimInsert (which links to
> vimString). Commands executed prior to the insert are highlighted with
> vimCommand. Strange...
> 
> Brett Stahlman
> 
>>
>> thanks in advanced
>> --
>> View this message in
>> context:http://old.nabble.com/syntax-disappears-in-command-line-window-tp2886...
>> Sent from the Vim - General mailing list archive at Nabble.com.
> 
> -- 
> 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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/syntax-disappears-in-command-line-window-tp28864165p28865648.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
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