annotate runtime/ftplugin/make.vim @ 2106:15674e198164 v7.2.389

updated for version 7.2.389 Problem: synIDattr() cannot return the font. Solution: Support the "font" argument. (Christian Brabandt)
author Bram Moolenaar <bram@zimbu.org>
date Wed, 10 Mar 2010 13:43:49 +0100
parents e63691e7c504
children 22fa3049e934
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 39
diff changeset
4 " Last Change: 2006 Jun 17
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Only do this when not done yet for this buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("b:did_ftplugin")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 let b:did_ftplugin = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 39
diff changeset
12 let b:undo_ftplugin = "setl et< sts< fo< com< cms< inc<"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Make sure a hard tab is used, required for most make programs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 setlocal noexpandtab softtabstop=0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " Set 'formatoptions' to break comment lines but not other lines,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " and insert the comment leader when hitting <CR> or using "o".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 setlocal fo-=t fo+=croql
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " Set 'comments' to format dashed lists in comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 setlocal com=sO:#\ -,mO:#\ \ ,b:#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " Set 'commentstring' to put the marker after a #.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 setlocal commentstring=#\ %s
39
410fa1a31baf updated for version 7.0023
vimboss
parents: 7
diff changeset
26
410fa1a31baf updated for version 7.0023
vimboss
parents: 7
diff changeset
27 " Including files.
410fa1a31baf updated for version 7.0023
vimboss
parents: 7
diff changeset
28 let &l:include = '^\s*include'