annotate runtime/ftplugin/make.vim @ 18625:57927799c27e v8.1.2305

patch 8.1.2305: no warning for wrong entry in translations Commit: https://github.com/vim/vim/commit/e53ec39270c805a95e405812e4c463c87a150eda Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 16 18:49:50 2019 +0100 patch 8.1.2305: no warning for wrong entry in translations Problem: No warning for wrong entry in translations. Solution: Check semicolons in keywords entry of desktop file.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Nov 2019 19:00:04 +0100
parents a23c883685cb
children 5b7ea82bc18f
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>
16208
a23c883685cb Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4339
diff changeset
4 " Last Change: 2019 Apr 02
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
16208
a23c883685cb Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4339
diff changeset
30 " For matchit.vim, suggested by Albert Netymk and Ken Takata.
4339
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
31 if exists("loaded_matchit")
16208
a23c883685cb Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4339
diff changeset
32 let b:match_words = '^ *ifn\=\(eq\|def\)\>:^ *else\(\s\+ifn\=\(eq\|def\)\)\=\>:^ *endif\>,\<define\>:\<endef\>,^!\s*if\(n\=def\)\=\>:^!\s*else\(if\(n\=def\)\=\)\=\>:^!\s*endif\>'
4339
22fa3049e934 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
33 endif