Thanks for correcting the email (I searched your site for ages trying to find a different one, but didn't look in the other vim files).
I'll grant your example highlights according to my expectations, but this one doesn't (in either the :if or the :let): function F() if $HOME =~ "^/home" echo "GOT HERE#1" else echo "GOT HERE#2" endif let $HOME = "/some/home" endfunction It seems the function body impedes the other rules (??). Best, D. Ben Knoble -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CALnO6CCiF93WRpU4_psSJOjN5ZwHpk6x7B%3DCb47NXUe-MiyfSg%40mail.gmail.com.