Mercurial > vim
annotate runtime/ftplugin/make.vim @ 34072:6d9e20b403e8 v9.1.0005
patch 9.1.0005: OpenVMS does not support python3 and xterm_save
Commit: https://github.com/vim/vim/commit/4d8cb683b1543ec02563cdd2d068ce5f82f90539
Author: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Date: Thu Jan 4 21:01:13 2024 +0100
patch 9.1.0005: OpenVMS does not support python3 and xterm_save
Problem: OpenVMS build does not support python3 and xterm_save
Solution: Enable python3 + xterm_save feature, fix style issues
(Zoltan Arpadffy)
closes: #13812
Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 04 Jan 2024 21:15:05 +0100 |
parents | 4027cefc2aab |
children |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
2 " Language: Make | |
32770
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
22723
diff
changeset
|
3 " Maintainer: The Vim Project <https://github.com/vim/vim> |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
22723
diff
changeset
|
4 " Last Change: 2023 Aug 10 |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
22723
diff
changeset
|
5 " Former Maintainer: Bram Moolenaar <Bram@vim.org> |
7 | 6 |
7 " Only do this when not done yet for this buffer | |
8 if exists("b:did_ftplugin") | |
9 finish | |
10 endif | |
11 let b:did_ftplugin = 1 | |
12 | |
22723 | 13 let b:undo_ftplugin = "setl et< sts< sw< fo< com< cms< inc<" |
7 | 14 |
15 " Make sure a hard tab is used, required for most make programs | |
22723 | 16 setlocal noexpandtab softtabstop=0 shiftwidth=0 |
7 | 17 |
18 " Set 'formatoptions' to break comment lines but not other lines, | |
19 " and insert the comment leader when hitting <CR> or using "o". | |
20 setlocal fo-=t fo+=croql | |
21 | |
22 " Set 'comments' to format dashed lists in comments | |
23 setlocal com=sO:#\ -,mO:#\ \ ,b:# | |
24 | |
25 " Set 'commentstring' to put the marker after a #. | |
26 setlocal commentstring=#\ %s | |
39 | 27 |
28 " Including files. | |
29 let &l:include = '^\s*include' | |
4339 | 30 |
16208 | 31 " For matchit.vim, suggested by Albert Netymk and Ken Takata. |
4339 | 32 if exists("loaded_matchit") |
16208 | 33 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 | 34 endif |