robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
aa1d8a2702
master
1" Vim syntax file 2" Language: OpenSSH known hosts file 3" Author: Fionn Fitzmaurice (github.com/fionn) 4" Maintainer: Fionn Fitzmaurice (github.com/fionn) 5" License: Vim & Apache 2.0 6" Last Change: 2026 Jun 28 7" 2026 Sep 28 by Vim project: update syntax file #21387 8 9if exists ( "b:current_syntax" ) 10finish 11endif 12 13runtime ! syntax/sshpublickey.vim 14 15syn match sshKnownHostsMarker "^@cert-authority\> "nextgroup = sshKnownHostsHostname , sshKnownHostsHashedHostname skipwhite 16syn match sshKnownHostsMarker "^@revoked\> "nextgroup = sshKnownHostsHostname , sshKnownHostsHashedHostname skipwhite 17 18syn match sshKnownHostsHostname "!\? [ a-zA-Z0-9.*- ] \+ "nextgroup = sshKnownHostsHostnameSeparator , sshKeyType skipwhite 19syn match sshKnownHostsHostname "!\?\[ [ a-zA-Z0-9.*- ] \+\]: [ 0-9 ] \{1,5} "nextgroup = sshKnownHostsHostnameSeparator , sshKeyType skipwhite 20syn match sshKnownHostsHostnameSeparator ", "contained nextgroup = sshKnownHostsHostname 21 22syn match sshKnownHostsHashedHostname "|1| [ a-zA-Z0-9/+ ] \+=\{,2}| [ a-zA-Z0-9/+ ] \+=\{,2} "nextgroup = sshKeyType skipwhite 23 24hi def link sshKnownHostsMarker Statement 25hi def link sshKnownHostsHostname Identifier 26hi def link sshKnownHostsHostnameSeparator Delimiter 27hi def link sshKnownHostsHashedHostname Identifier 28 29let b: current_syntax = "sshknownhosts"