> On 4 Jun 2019, at 19:10, Bram Moolenaar <[email protected]> wrote: > > > > > >> I have tried to contact the author of hitest.vim a few days ago, but > >> didn’t get any answer yet. Anyway, hopefully it’s on this list, too. > >> > >> I get E348 with runtime syntax/hitest.vim when whichwrap is set to a value > >> different from the default. To reproduce: > >> > >> 1. create vimrc-hitest with the following content: > >> > >> set whichwrap=b,~,<,>,[,],h,l > >> hi StatusLine guifg=#64878f guibg=#ffffff guisp=NONE gui=reverse > >> cterm=reverse > >> hi! link StatusLineTerm StatusLine > >> > >> 2. vim -N -i NONE -u vimrc-hitest > >> > >> 3. runtime syntax/hitest.vim > >> > >> The proposed patch fixes it for me. It also adds ‘silent' to the highlight > >> command to avoid flashing the screen. > > > > Thanks. I still see a flash, caused by this line: > > > > global /links to/ normal mz3ElD0#$p'zdd > > > > Appears for a "links to Something" when "Something" is not defined. > > I'll add a silent! here, but it's not really the right solution. > > I do not see that. Perhaps, I have not encountered such cases. > > > It's also quite slow, there should be a way to make it much faster. > > >From a user point of view, I do not perceive it as too slow, although it may > >be compared to what it does. > > > It also leaves some names at the end, which can be fixed with: > > g/ cleared$/d > > The enclosed patch adds the changes you mention.
Thanks. > > -- > > % cat /usr/include/life.h > > void life(void); > > > Noo! Maybe, long life(double fun); > > Is your signature generator really random? It's rotating, thus what fortune ends up where is a matter of luck. I like your response, I'll add it to the list. -- >From "know your smileys": :-| :-| Deja' vu! /// Bram Moolenaar -- [email protected] -- 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 /// -- -- 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/201906061022.x56AMuu9012880%40masaka.moolenaar.net. For more options, visit https://groups.google.com/d/optout.
