diff --git a/runtime/ftplugin/sshconfig.vim b/runtime/ftplugin/sshconfig.vim index 8a7b078309..a7f49e0230 100644 --- a/runtime/ftplugin/sshconfig.vim +++ b/runtime/ftplugin/sshconfig.vim @@ -2,7 +2,7 @@ " Language: OpenSSH client configuration file " Maintainer: This runtime file is looking for a new maintainer. " Previous Maintainer: Nikolai Weibull -" Latest Revision: 2025-07-22 (use :hor term #17822) +" Latest Revision: 2026-03-11 (`less -I`) if exists("b:did_ftplugin") finish @@ -17,7 +17,7 @@ let b:undo_ftplugin = 'setlocal com< cms< fo<' if has('unix') && executable('less') && exists(':terminal') == 2 command -buffer -nargs=1 SshconfigKeywordPrg - \ silent exe 'hor term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s+' . . '$', '\') . ''' --hilite-search" man ' . 'ssh_config' + \ silent exe 'hor term ' . 'env LESS= MANPAGER="less -I --pattern=''' . escape('^\s+' . . '$', '\') . ''' --hilite-search" man ' . 'ssh_config' setlocal iskeyword+=- setlocal keywordprg=:SshconfigKeywordPrg let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer SshconfigKeywordPrg' diff --git a/runtime/syntax/sshconfig.vim b/runtime/syntax/sshconfig.vim index b7ccd3919f..4934b033c6 100644 --- a/runtime/syntax/sshconfig.vim +++ b/runtime/syntax/sshconfig.vim @@ -6,13 +6,8 @@ " Contributor: Leonard Ehrenfried " Karsten Hopp " Dean, Adam Kenneth -" Last Change: 2022 Nov 10 -" Last Update: 2026 Feb 24 -" Added RemoteCommand from pull request #4809 -" Included additional keywords from Martin. -" Included PR #5753 -" Update missing keywords #19488 -" SSH Version: 8.5p1 +" Last Change: 2026 Mar 11 +" SSH Version: 10.1p1 " " Setup @@ -110,7 +105,8 @@ syn keyword sshconfigAddressFamily inet inet6 syn match sshconfigIPQoS "\" syn match sshconfigIPQoS "\" -syn keyword sshconfigIPQoS ef le lowdelay throughput reliability +syn keyword sshconfigIPQoS ef le +syn keyword sshconfigIPQoSDeprecated lowdelay throughput reliability syn keyword sshconfigKbdInteractive bsdauth pam skey syn keyword sshconfigKexAlgo diffie-hellman-group1-sha1 @@ -288,6 +284,7 @@ hi def link sshconfigLogLevel sshconfigEnum hi def link sshconfigSysLogFacility sshconfigEnum hi def link sshconfigAddressFamily sshconfigEnum hi def link sshconfigIPQoS sshconfigEnum +hi def link sshconfigIPQoSDeprecated sshconfigDeprecated hi def link sshconfigKbdInteractive sshconfigEnum hi def link sshconfigKexAlgo sshconfigEnum hi def link sshconfigTunnel sshconfigEnum diff --git a/runtime/syntax/sshdconfig.vim b/runtime/syntax/sshdconfig.vim index 381dccdd97..464aa764c8 100644 --- a/runtime/syntax/sshdconfig.vim +++ b/runtime/syntax/sshdconfig.vim @@ -8,8 +8,8 @@ " Contributor: Karsten Hopp " Contributor: Fionn Fitzmaurice (github.com/fionn) " Originally: 2009-07-09 -" Last Change: 2026-02-11 -" SSH Version: 10.2p1 +" Last Change: 2026-03-11 +" SSH Version: 10.1p1 " " Setup @@ -112,7 +112,8 @@ syn keyword sshdconfigCompression delayed syn match sshdconfigIPQoS "\" syn match sshdconfigIPQoS "\" -syn keyword sshdconfigIPQoS ef le lowdelay throughput reliability +syn keyword sshdconfigIPQoS ef le +syn keyword sshdconfigIPQoSDeprecated lowdelay throughput reliability syn keyword sshdconfigKexAlgo diffie-hellman-group1-sha1 syn keyword sshdconfigKexAlgo diffie-hellman-group14-sha1 @@ -293,6 +294,7 @@ hi def link sshdconfigSysLogFacility sshdconfigEnum hi def link sshdconfigVar sshdconfigEnum hi def link sshdconfigCompression sshdconfigEnum hi def link sshdconfigIPQoS sshdconfigEnum +hi def link sshdconfigIPQoSDeprecated sshdconfigDeprecated hi def link sshdconfigKexAlgo sshdconfigEnum hi def link sshdconfigTunnel sshdconfigEnum hi def link sshdconfigSubsystem sshdconfigEnum @@ -301,6 +303,7 @@ hi def link sshdconfigEnum Function hi def link sshdconfigSpecial Special hi def link sshdconfigKeyword Keyword hi def link sshdconfigMatch Type +hi def link sshdconfigDeprecated Error let b:current_syntax = "sshdconfig"