annotate runtime/ftplugin/sshconfig.vim @ 33037:e937929e4bff v9.0.1809

patch 9.0.1809: termdebug test flayk Commit: https://github.com/vim/vim/commit/6c93c949298c1a6cb294a09b10d690cae357a8bf Author: Christian Brabandt <cb@256bit.org> Date: Sun Aug 27 21:48:29 2023 +0200 patch 9.0.1809: termdebug test flayk Problem: termdebug test flayk Solution: wait slightly longer Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2023 22:00:04 +0200
parents 75c283beb74f
children 5510af40c77b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
32984
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
2 " Language: OpenSSH client configuration file
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
4 " Latest Revision: 2008-07-09
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
5
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
6 if exists("b:did_ftplugin")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
7 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9 let b:did_ftplugin = 1
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
11 let s:cpo_save = &cpo
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
12 set cpo&vim
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
13
32984
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
14 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
15 let b:undo_ftplugin = 'setlocal com< cms< fo<'
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
16
32984
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
17 if has('unix') && executable('less')
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
18 if !has('gui_running')
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
19 command -buffer -nargs=1 Sman
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
20 \ silent exe '!' . 'LESS= MANPAGER="less --pattern=''^\s+' . <q-args> . '$'' --hilite-search" man ' . 'ssh_config' |
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
21 \ redraw!
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
22 elseif has('terminal')
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
23 command -buffer -nargs=1 Sman
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
24 \ silent exe 'term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s+' . <q-args> . '$', '\') . ''' --hilite-search" man ' . 'ssh_config'
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
25 endif
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
26 if exists(':Sman') == 2
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
27 setlocal iskeyword+=-
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
28 setlocal keywordprg=:Sman
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
29 let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword<'
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
30 endif
75c283beb74f re-sync with git
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
31 endif
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
32
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
33 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
34 unlet s:cpo_save