diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-05-01 18:37:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 18:37:14 +0200 |
commit | efea8a66b12d98b02d0594b54c4e575262d4e3da (patch) | |
tree | 246f9c749cacacb5c19439b44c2d448117ce7b11 /runtime/syntax | |
parent | cd190db8b3f1376a35a3cdce00e277018f809862 (diff) | |
parent | 45ef3d9d0c5f09e735b984fb6bbb25b27848408c (diff) | |
download | rneovim-efea8a66b12d98b02d0594b54c4e575262d4e3da.tar.gz rneovim-efea8a66b12d98b02d0594b54c4e575262d4e3da.tar.bz2 rneovim-efea8a66b12d98b02d0594b54c4e575262d4e3da.zip |
Merge #6632 from justinmk/doc
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/help.vim | 2 | ||||
-rw-r--r-- | runtime/syntax/man.vim | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim index d23aab9f7f..98ab7f4b23 100644 --- a/runtime/syntax/help.vim +++ b/runtime/syntax/help.vim @@ -87,6 +87,8 @@ syn match helpSpecial "CTRL-PageDown" syn match helpSpecial "CTRL-Insert" syn match helpSpecial "CTRL-Del" syn match helpSpecial "CTRL-{char}" +syn match helpSpecial "META-." +syn match helpSpecial "ALT-." " Highlight group items in their own color. syn match helpComment "\t[* ]Comment\t\+[a-z].*" diff --git a/runtime/syntax/man.vim b/runtime/syntax/man.vim index 819b2adc31..0975b160ae 100644 --- a/runtime/syntax/man.vim +++ b/runtime/syntax/man.vim @@ -18,6 +18,11 @@ highlight default link manOptionDesc Constant highlight default link manReference PreProc highlight default link manSubHeading Function +if &filetype != 'man' + " May have been included by some other filetype. + finish +endif + if !exists('b:man_sect') call man#init_pager() endif |