diff runtime/syntax/help.vim @ 28862:82244cfc4694

Update runtime files, new color schemes Commit: https://github.com/vim/vim/commit/30ab04e16e1e9e6133590181197b3f8e70cb495e Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 14 13:33:50 2022 +0100 Update runtime files, new color schemes
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 May 2022 14:45:04 +0200
parents cd68a630f0d0
children 57c9377b9c62
line wrap: on
line diff
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -1,7 +1,7 @@
 " Vim syntax file
 " Language:	Vim help file
 " Maintainer:	Bram Moolenaar (Bram@vim.org)
-" Last Change:	2022 May 12
+" Last Change:	2022 May 13
 
 " Quit when a (custom) syntax file was already loaded
 if exists("b:current_syntax")
@@ -215,7 +215,7 @@ hi def link helpError		Error
 hi def link helpTodo		Todo
 hi def link helpURL		String
 
-if expand('%:p') =~ escape($VIMRUNTIME, '\') .. '[/\\]doc[/\\]syntax.txt'
+if expand('%:p') =~ '[/\\]doc[/\\]syntax.txt'
   " highlight groups with their respective color
   import 'dist/vimhelp.vim'
   call vimhelp.HighlightGroups()