comparison runtime/syntax/help.vim @ 28777:b96ceb97e896

Update runtime files Commit: https://github.com/vim/vim/commit/d899e51120798d3fb5420abb1f19dddf3f014d05 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 7 21:54:03 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 May 2022 23:00:04 +0200
parents 43593a5d873f
children cd68a630f0d0
comparison
equal deleted inserted replaced
28776:0a39be512722 28777:b96ceb97e896
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Vim help file 2 " Language: Vim help file
3 " Maintainer: Bram Moolenaar (Bram@vim.org) 3 " Maintainer: Bram Moolenaar (Bram@vim.org)
4 " Last Change: 2021 Jun 13 4 " Last Change: 2022 May 01
5 5
6 " Quit when a (custom) syntax file was already loaded 6 " Quit when a (custom) syntax file was already loaded
7 if exists("b:current_syntax") 7 if exists("b:current_syntax")
8 finish 8 finish
9 endif 9 endif
213 hi def link helpUnderlined Underlined 213 hi def link helpUnderlined Underlined
214 hi def link helpError Error 214 hi def link helpError Error
215 hi def link helpTodo Todo 215 hi def link helpTodo Todo
216 hi def link helpURL String 216 hi def link helpURL String
217 217
218 if expand('%:p') == $VIMRUNTIME .. '/doc/syntax.txt'
219 " highlight groups with their respective color
220 import 'dist/vimhelp.vim'
221 call vimhelp.HighlightGroups()
222 endif
223
218 let b:current_syntax = "help" 224 let b:current_syntax = "help"
219 225
220 let &cpo = s:cpo_save 226 let &cpo = s:cpo_save
221 unlet s:cpo_save 227 unlet s:cpo_save
222 " vim: ts=8 sw=2 228 " vim: ts=8 sw=2