Skip to content

Instantly share code, notes, and snippets.

@mstrzele
Created June 26, 2016 18:33
Show Gist options
  • Save mstrzele/3f6146d78eb663d8ed9276da356b4e3c to your computer and use it in GitHub Desktop.
Save mstrzele/3f6146d78eb663d8ed9276da356b4e3c to your computer and use it in GitHub Desktop.
syn case match
syn match sshconfigHostPort "\(host \)\@<=.\+"
syn keyword sshconfigKeyword host
syn case ignore
syn keyword sshconfigMatchSect Match
syn keyword sshconfigKeyword exec
syn keyword sshconfigKeyword originalhost
syn keyword sshconfigKeyword user
syn keyword sshconfigKeyword localuser
if version >= 508 || !exists("did_sshconfig_syntax_inits")
if version < 508
let did_sshconfig_syntax_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink sshconfigMatchSect Type
endif
set ts=8
set sw=4
set sts=4
set et
" vim:set ts=8 sw=2 sts=2:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment