Mercurial > vim
comparison runtime/syntax/help.vim @ 28843:cd68a630f0d0
Update runtime files and translations
Commit: https://github.com/vim/vim/commit/3f32a5f1601ab2b0eba0caad00d4c26fb86a02a2
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 12 20:34:15 2022 +0100
Update runtime files and translations
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 12 May 2022 21:45:05 +0200 |
parents | b96ceb97e896 |
children | 82244cfc4694 |
comparison
equal
deleted
inserted
replaced
28842:4c4966f73c6b | 28843:cd68a630f0d0 |
---|---|
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: 2022 May 01 | 4 " Last Change: 2022 May 12 |
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' | 218 if expand('%:p') =~ escape($VIMRUNTIME, '\') .. '[/\\]doc[/\\]syntax.txt' |
219 " highlight groups with their respective color | 219 " highlight groups with their respective color |
220 import 'dist/vimhelp.vim' | 220 import 'dist/vimhelp.vim' |
221 call vimhelp.HighlightGroups() | 221 call vimhelp.HighlightGroups() |
222 endif | 222 endif |
223 | 223 |