> The latest runtime files update (3f32a5f1) partially fixes the issue
> with `syntax/help.vim`.
> 
> There is still a problem on Windows when `shellslash` is set. To reproduce:
> ```
> vim --clean -c "set shellslash -c "help hl-ColorColumn"
> ``` 
> And the highlight groups are not highlighted.
> 
> This is because `expand('%:p')` contains slashes but `$VIMRUNTIME`
> contains backslashes in this line:
> https://github.com/vim/vim/blob/d881d1598467d88808bafd2fa86982ebbca7dcc1/runtime/syntax/help.vim#L218

I was suspecting something like this could happen.

I think we can just drop $VIMRUNTIME.  The file is already recognized as
a help file, just matching /doc/syntax.txt should be more than sufficient.

-- 
I thought I was eating a crab salad.  It turned out to be a crap salad.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20220513142149.5B6CF1C075E%40moolenaar.net.

Raspunde prin e-mail lui