Mercurial > vim
annotate runtime/syntax/manual.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 | 895150cd3e6f |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax support file |
32770
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
7879
diff
changeset
|
2 " 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:
7879
diff
changeset
|
3 " Last Change: 2023 Aug 10 |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
7879
diff
changeset
|
4 " Former Maintainer: Bram Moolenaar <Bram@vim.org> |
7 | 5 |
6 " This file is used for ":syntax manual". | |
7 " It installs the Syntax autocommands, but no the FileType autocommands. | |
8 | |
9 if !has("syntax") | |
10 finish | |
11 endif | |
12 | |
13 " Load the Syntax autocommands and set the default methods for highlighting. | |
14 if !exists("syntax_on") | |
15 so <sfile>:p:h/synload.vim | |
16 endif | |
17 | |
18 let syntax_manual = 1 | |
19 | |
7879
895150cd3e6f
commit https://github.com/vim/vim/commit/885f24fbcae2a39ae496ffb3a1e139379be8fae1
Christian Brabandt <cb@256bit.org>
parents:
1619
diff
changeset
|
20 " Overrule the connection between FileType and Syntax autocommands. This sets |
895150cd3e6f
commit https://github.com/vim/vim/commit/885f24fbcae2a39ae496ffb3a1e139379be8fae1
Christian Brabandt <cb@256bit.org>
parents:
1619
diff
changeset
|
21 " the syntax when the file type is detected, without changing the value. |
895150cd3e6f
commit https://github.com/vim/vim/commit/885f24fbcae2a39ae496ffb3a1e139379be8fae1
Christian Brabandt <cb@256bit.org>
parents:
1619
diff
changeset
|
22 augroup syntaxset |
895150cd3e6f
commit https://github.com/vim/vim/commit/885f24fbcae2a39ae496ffb3a1e139379be8fae1
Christian Brabandt <cb@256bit.org>
parents:
1619
diff
changeset
|
23 au! FileType * exe "set syntax=" . &syntax |
895150cd3e6f
commit https://github.com/vim/vim/commit/885f24fbcae2a39ae496ffb3a1e139379be8fae1
Christian Brabandt <cb@256bit.org>
parents:
1619
diff
changeset
|
24 augroup END |
7 | 25 |
26 " If the GUI is already running, may still need to install the FileType menu. | |
1619 | 27 " Don't do it when the 'M' flag is included in 'guioptions'. |
28 if has("menu") && has("gui_running") && !exists("did_install_syntax_menu") && &guioptions !~# 'M' | |
7 | 29 source $VIMRUNTIME/menu.vim |
30 endif |