aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-11-07 20:43:11 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-11-07 23:07:03 +0100
commit4175dfac9a91e30d01e5aec6b45ed81e0288aaf9 (patch)
tree066a1dc529d281003252d43cbd97b0a3bd835115 /runtime/syntax/help.vim
parentea51f08276ce7c9386b88b320fd63ae71324351a (diff)
downloadrneovim-4175dfac9a91e30d01e5aec6b45ed81e0288aaf9.tar.gz
rneovim-4175dfac9a91e30d01e5aec6b45ed81e0288aaf9.tar.bz2
rneovim-4175dfac9a91e30d01e5aec6b45ed81e0288aaf9.zip
vim-patch:01164a6546b4
Long overdue runtime update. https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r--runtime/syntax/help.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index 4a2bde8763..972970f619 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: 2017 Jun 13
+" Last Change: 2017 Oct 19
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -56,6 +56,7 @@ syn match helpSpecial "\<N\>"
syn match helpSpecial "\<N\.$"me=e-1
syn match helpSpecial "\<N\.\s"me=e-2
syn match helpSpecial "(N\>"ms=s+1
+
syn match helpSpecial "\[N]"
" avoid highlighting N N in help.txt
syn match helpSpecial "N N"he=s+1
@@ -81,6 +82,9 @@ syn match helpSpecial "\[arguments]"
syn match helpSpecial "\[ident]"
syn match helpSpecial "\[addr]"
syn match helpSpecial "\[group]"
+" Don't highlight [converted] and others that do not have a tag
+syn match helpNormal "\[\(readonly\|fifo\|socket\|converted\|crypted\)]"
+
syn match helpSpecial "CTRL-."
syn match helpSpecial "CTRL-Break"
syn match helpSpecial "CTRL-PageUp"