Mercurial > vim
annotate runtime/ftplugin/debsources.vim @ 33670:c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Commit: https://github.com/vim/vim/commit/7b7cda67a1246874520b280277d9b1447e1a7ef5
Author: James McCoy <jamessan@jamessan.com>
Date: Thu Oct 26 17:14:30 2023 -0400
runtime(debian): update debian related runtime files (https://github.com/vim/vim/issues/13423)
* Update Debian runtime files
Add mantic as a supported Ubuntu release and move buster/kinetic to
unsupported.
Add syntax highlighting for deb822sources filetype.
Add debsources ftplugin to set relevant comment options.
Move common version information to shared/debversions.vim
Closes #11934
Co-authored-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Co-authored-by: James Addison <jay@jp-hosting.net>
Co-authored-by: Viktor Sz?pe <viktor@szepe.net>
Signed-off-by: James McCoy <jamessan@jamessan.com>
* Add myself as codeowner for Debian-related runtime files
Signed-off-by: James McCoy <jamessan@jamessan.com>
---------
Signed-off-by: James McCoy <jamessan@jamessan.com>
Co-authored-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Co-authored-by: James Addison <jay@jp-hosting.net>
Co-authored-by: Viktor Sz?pe <viktor@szepe.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 26 Oct 2023 23:15:07 +0200 |
parents | |
children | a513a0b170e1 |
rev | line source |
---|---|
33670
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Language: Debian sources.list |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 " Maintainer: Debian Vim Maintainers <team+vim@tracker.debian.org> |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 " Last Change: 2023 Aug 30 |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 " License: Vim License |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 " URL: https://salsa.debian.org/vim-team/vim-debian/blob/main/ftplugin/debsources.vim |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 if exists('b:did_ftplugin') |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 finish |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 endif |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 let b:did_ftplugin=1 |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 setlocal comments=:# |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 setlocal commentstring=#%s |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 setlocal formatoptions-=t |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 |
c6d5af39dc7f
runtime(debian): update debian related runtime files (#13423)
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 let b:undo_ftplugin = 'setlocal comments< commentstring< formatoptions<' |