diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-09-01 20:46:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-09-01 20:46:49 +0000 |
commit | e344bead3ecc16a0982d157e8c19050f6dff4e0c (patch) | |
tree | 34da48120172b9e2efc8c559733c2b69db5a24ba /runtime/syntax/help.vim | |
parent | da2303d96b0f55d30e9b5b57d3459d5e1ea22ec2 (diff) | |
download | vim-git-e344bead3ecc16a0982d157e8c19050f6dff4e0c.tar.gz |
updated for version 7.0140v7.0140
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r-- | runtime/syntax/help.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim index 7d50f5501..26f5deeb6 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: 2005 Jun 20 +" Last Change: 2005 Sep 01 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") @@ -106,6 +106,7 @@ syn match helpUnderlined "\t[* ]Underlined\t\+[a-z].*" syn match helpError "\t[* ]Error\t\+[a-z].*" syn match helpTodo "\t[* ]Todo\t\+[a-z].*" +syn match helpURL `\v<(((https?|ftp|gopher)://|(mailto|file|news):)[^' <>"]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^' <>"]+)[a-z0-9/]` " Additionally load a language-specific syntax file "help_ab.vim". let s:i = match(expand("%"), '\.\a\ax$') @@ -166,6 +167,7 @@ hi def link helpDebug Debug hi def link helpUnderlined Underlined hi def link helpError Error hi def link helpTodo Todo +hi def link helpURL String let b:current_syntax = "help" |