summaryrefslogtreecommitdiff
path: root/runtime/syntax/sshconfig.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-02-22 17:30:19 +0100
committerBram Moolenaar <Bram@vim.org>2012-02-22 17:30:19 +0100
commitdb7207e6e51cf6677545e2f8e0aca427b3cf1956 (patch)
tree956dc0adb1d250813b9747027162703012bc4639 /runtime/syntax/sshconfig.vim
parent84a4c334e1b840d666d0a178b9e665b6041c6b78 (diff)
downloadvim-db7207e6e51cf6677545e2f8e0aca427b3cf1956.zip
Updated runtime files.
Diffstat (limited to 'runtime/syntax/sshconfig.vim')
-rw-r--r--runtime/syntax/sshconfig.vim7
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/syntax/sshconfig.vim b/runtime/syntax/sshconfig.vim
index c2d97dd71..15e3b0170 100644
--- a/runtime/syntax/sshconfig.vim
+++ b/runtime/syntax/sshconfig.vim
@@ -2,9 +2,7 @@
" Language: OpenSSH client configuration file (ssh_config)
" Author: David Necas (Yeti)
" Maintainer: Leonard Ehrenfried <leonard.ehrenfried@web.de>
-" Modified By: Thilo Six
-" Originally: 2009-07-09
-" Last Change: 2011 Oct 31
+" Last Change: 2012 Feb 19
" SSH Version: 5.9p1
"
@@ -92,7 +90,8 @@ syn match sshconfigNumber "\d\+"
syn match sshconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>"
syn match sshconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>"
syn match sshconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}[:/]\d\+\>"
-
+syn match sshconfigHostPort "\(Host \)\@<=.\+"
+syn match sshconfigHostPort "\(HostName \)\@<=.\+"
" case off
syn case ignore