On 6 Jun 2019, at 10:04, Scutum <[email protected]> wrote:
> 
> On 5 Jun 2019, at 16:56, 'Lifepillar' wrote:
>> 
>> The enclosed patch adds the changes you mention.
>> 
>> The attached patch uses silent! also on the added command.
>> 
>> About the slowness: I have made some more tests and when there are many 
>> highlight groups (e.g. those loaded by Vim filetype), the script takes about 
>> three seconds on my machine.
>> 
>> Life.
> 
> Thank you, Lifepillar, for fixing this.
> I could not reproduce the problem as you wrote. This is probably because I'm 
> still working with Vim 8.0. I did not find time yet to try 8.1.

For the specific example I have shown, a git bisect points at commit 595a40226 
(v8.0.1050) as the first commit having this issue. Before that commit, `hi 
StatusLineTerm` prints only one line:

   StatusLineTerm xxx links to StatusLine

but, starting from that commit, it prints two lines:

StatusLineTerm xxx term=bold,reverse cterm=bold ctermfg=15 ctermbg=2 gui=bold 
guifg=bg guibg=DarkGreen
                   links to StatusLine

> Maybe in the next weeks. Then I'll also have a look at the slowness issue.

This line seems to be the culprit:

    global /^/ exe "normal Wi\<CR>\t\eAA\ex”

Hope this helps,
Life.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/8C9DF374-A4C4-4C81-866D-00D033DE8C9C%40icloud.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui