aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-11-07 23:50:10 +0100
committerGitHub <noreply@github.com>2017-11-07 23:50:10 +0100
commitbbf730aa3180c4522c34f4529130827874be25d1 (patch)
treefc1c6d82d3e340ebfc268b8274c24f1790c3849f /runtime/syntax/help.vim
parentae569ea57b1df1b450803b6d23ab8c315dd72e72 (diff)
parent2ca59638ba04d11c397496d4f12f4d24e3461f0e (diff)
downloadrneovim-bbf730aa3180c4522c34f4529130827874be25d1.tar.gz
rneovim-bbf730aa3180c4522c34f4529130827874be25d1.tar.bz2
rneovim-bbf730aa3180c4522c34f4529130827874be25d1.zip
Merge #7503 from justinmk/vim-patches
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"