annotate runtime/ftplugin/mp.vim @ 7999:92ad477c6ab3 v7.4.1294

commit https://github.com/vim/vim/commit/7280140c08799f683ef31a6c1019e283c3dc13aa Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 9 11:37:50 2016 +0100 patch 7.4.1294 Problem: job_stop() only kills the started process. Solution: Send the signal to the process group. (Olaf Dabrunz)
author Christian Brabandt <cb@256bit.org>
date Tue, 09 Feb 2016 11:45:05 +0100
parents f4f8014d516e
children 876fbdd84e52
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
1 " Vim filetype plugin file
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
2 " Language: MetaPost
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1217
diff changeset
4 " Latest Revision: 2008-07-09
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
5
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
6 if exists("b:did_ftplugin")
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
7 finish
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
8 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
9 let b:did_ftplugin = 1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1217
diff changeset
11 let s:cpo_save = &cpo
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1217
diff changeset
12 set cpo&vim
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1217
diff changeset
13
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
14 let b:undo_ftplugin = "setl com< cms< fo<"
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
15
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
16 setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
17
1217
82274b284600 updated for version 7.1b
vimboss
parents: 839
diff changeset
18 if exists(":FixBeginfigs") != 2
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
19 command -nargs=0 FixBeginfigs call s:fix_beginfigs()
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
20
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
21 function! s:fix_beginfigs()
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
22 let i = 1
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
23 g/^beginfig(\d*);$/s//\='beginfig('.i.');'/ | let i = i + 1
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
24 endfunction
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 7
diff changeset
25 endif
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1217
diff changeset
26
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1217
diff changeset
27 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1217
diff changeset
28 unlet s:cpo_save