aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-09-28 12:48:36 +0200
committerGitHub <noreply@github.com>2022-09-28 12:48:36 +0200
commit9ca313fb968448011aae0509e6552c52b9f8aa8c (patch)
tree0c3c1484d213250dfb2f36718793a646937b1b53 /runtime/syntax/help.vim
parent35e2c4a2edd28f72c48c70530c5486365c2502a4 (diff)
downloadrneovim-9ca313fb968448011aae0509e6552c52b9f8aa8c.tar.gz
rneovim-9ca313fb968448011aae0509e6552c52b9f8aa8c.tar.bz2
rneovim-9ca313fb968448011aae0509e6552c52b9f8aa8c.zip
vim-patch:9fbdbb814f4a (#20376)
Update runtime files https://github.com/vim/vim/commit/9fbdbb814f4ad67a14979aba4a6a49800c2f1a99 Skip ftplugin/vim.vim (vim9script change) Drop indent/vim.vim and autoload/dist/vimindent.vim (vim9script rewrite)
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r--runtime/syntax/help.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index 01915d23d7..5773e94c3e 100644
--- 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: 2021 Jun 13
+" Last Change: 2022 Sep 26
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -39,6 +39,7 @@ syn match helpVim "VIM REFERENCE.*"
syn match helpVim "NVIM REFERENCE.*"
syn match helpOption "'[a-z]\{2,\}'"
syn match helpOption "'t_..'"
+syn match helpNormal "'ab'"
syn match helpCommand "`[^` \t]\+`"hs=s+1,he=e-1 contains=helpBacktick
syn match helpCommand "\(^\|[^a-z"[]\)\zs`[^`]\+`\ze\([^a-z\t."']\|$\)"hs=s+1,he=e-1 contains=helpBacktick
syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore