annotate runtime/ftplugin/pymanifest.vim @ 34877:af649de78695 v9.1.0304

patch 9.1.0304: filetype: cgdb config file is not recognized Commit: https://github.com/vim/vim/commit/1492fe69037586b6c625d42205d77dd38ba51640 Author: Wu, Zhenyu <wuzhenyu@ustc.edu> Date: Wed Apr 10 22:52:40 2024 +0200 patch 9.1.0304: filetype: cgdb config file is not recognized Problem: filetype: cgdb config file is not recognized Solution: Detect cgdbrc files as cgdbrc filetype (Wu, Zhenyu) closes: #14458 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 10 Apr 2024 23:00:03 +0200
parents c79fc3d7410c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32767
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Vim filetype plugin
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " Language: PyPA manifest
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 " Maintainer: ObserverOfTime <chronobserver@disroot.org>
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 " Last Change: 2023 Aug 08
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 if exists('b:did_ftplugin')
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 finish
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 endif
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 let b:did_ftplugin = 1
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 setl comments=:# commentstring=#\ %s
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12
c79fc3d7410c Add syntax & ftplugin for pymanifest (#12773)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 let b:undo_ftplugin = 'setl com< cms<'