robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
957eb1fde0
master
1" Vim filetype plugin file 2" Language: OpenSSH client configuration file 3" Maintainer: This runtime file is looking for a new maintainer. 4" Previous Maintainer: Nikolai Weibull <now@bitwi.se> 5" Latest Revision: 2026-03-11 (`less -I`) 6 7if exists ( "b:did_ftplugin" ) 8finish 9endif 10let b: did_ftplugin = 1 11 12let s: cpo_save = & cpo 13set cpo & vim 14 15setlocal comments = :#commentstring = #\ %sformatoptions -= tformatoptions += croql 16let b: undo_ftplugin = 'setlocal com< cms< fo<' 17 18if has ( 'unix' ) && executable ( 'less' ) && exists ( ':terminal' ) == 2 19command -buffer -nargs = 1 SshconfigKeywordPrg 20 \silent exe 'hor term ' . 'env LESS= MANPAGER="less -I --pattern=''' . escape('^\s+' . <q-args> . '$', '\') . ''' --hilite-search" man ' . 'ssh_config' 21setlocal iskeyword += - 22setlocal keywordprg = :SshconfigKeywordPrg 23let b: undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer SshconfigKeywordPrg' 24endif 25 26let & cpo = s: cpo_save 27unlet s: cpo_save