Mercurial > vim
annotate runtime/ftplugin/aap.vim @ 32770:4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Commit: https://github.com/vim/vim/commit/e978b4534a5e10471108259118c0ef791106fd92
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Aug 13 10:33:05 2023 +0200
Farewell to Bram and dedicate upcoming Vim 9.1 to him (https://github.com/vim/vim/issues/12749)
* Dedicate upcoming Vim 9.1 to Bram
Also replace in a few more places Brams email address and mention new
maintainers.
* Remove Bram from any Maintainer role
* runtime: Align Header
* it's mailing list not mailinglist
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 Aug 2023 10:45:08 +0200 |
parents | 624439a39432 |
children | 8ae680be2a51 |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
2 " Language: Aap recipe | |
32770
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
26148
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:
26148
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:
26148
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 | |
12 " Don't load another plugin for this buffer | |
13 let b:did_ftplugin = 1 | |
14 | |
26148 | 15 " Reset 'formatoptions', 'comments', 'commentstring' and 'expandtab' to undo |
16 " this plugin. | |
17 let b:undo_ftplugin = "setl fo< com< cms< et<" | |
7 | 18 |
19 " Set 'formatoptions' to break comment lines but not other lines, | |
20 " and insert the comment leader when hitting <CR> or using "o". | |
21 setlocal fo-=t fo+=croql | |
22 | |
23 " Set 'comments' to format dashed lists in comments. | |
4264 | 24 setlocal comments=s:#\ -,m:#\ \ ,e:#,n:#,fb:- |
26148 | 25 setlocal commentstring=#\ %s |
7 | 26 |
27 " Expand tabs to spaces to avoid trouble. | |
28 setlocal expandtab | |
26148 | 29 |
30 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") | |
31 let b:browsefilter = "Aap Recipe Files (*.aap)\t*.aap\nAll Files (*.*)\t*.*\n" | |
32 let b:undo_ftplugin ..= " | unlet! b:browsefilter" | |
33 endif |