annotate runtime/ftplugin/make.vim @ 7703:39251e981d1f v7.4.1150

commit https://github.com/vim/vim/commit/25281634cda03ce302aaf9f906a9520b5f81f91e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 21 23:32:32 2016 +0100 patch 7.4.1150 Problem: 'langmap' applies to the first character typed in Select mode. (David Watson) Solution: Check for SELECTMODE. (Christian Brabandt, closes https://github.com/vim/vim/issues/572) Add the 'x' flag to feedkeys().
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Jan 2016 23:45:06 +0100
parents 22fa3049e934
children a23c883685cb
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>
4339
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
4 " Last Change: 2013 Apr 22
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'
4339
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
29
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
30 " For matchit.vim, suggested by Albert Netymk.
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
31 if exists("loaded_matchit")
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
32 let b:match_words = '\<if\(n\)\=\(eq\|def\)\>:\<else\>:\<endif\>,\<define\>:\<endef\>'
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
33 endif