Commit: runtime(autopkgtest): add ftplugin file for autopkgtest

2 views
Skip to first unread message

Christian Brabandt

unread,
Jul 6, 2025, 12:15:15 PM7/6/25
to vim...@googlegroups.com
runtime(autopkgtest): add ftplugin file for autopkgtest

Commit: https://github.com/vim/vim/commit/244198f0396fe1d744a3accdb78af7948c8f5cbb
Author: James McCoy <jame...@jamessan.com>
Date: Sun Jul 6 18:01:18 2025 +0200

runtime(autopkgtest): add ftplugin file for autopkgtest

closes: https://github.com/vim/vim/issues/17679

Signed-off-by: James McCoy <jame...@debian.org>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/ftplugin/autopkgtest.vim b/runtime/ftplugin/autopkgtest.vim
new file mode 100644
index 000000000..3b9d59a97
--- /dev/null
+++ b/runtime/ftplugin/autopkgtest.vim
@@ -0,0 +1,17 @@
+" Vim filetype plugin file
+" Language: Debian autopkgtest control files
+" Maintainer: Debian Vim Maintainers
+" Last Change: 2025 Jul 05
+" URL: https://salsa.debian.org/vim-team/vim-debian/blob/main/ftplugin/autopkgtest.vim
+
+" Do these settings once per buffer
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin=1
+
+setlocal comments=:#
+setlocal commentstring=#\ %s
+
+" Clean unloading
+let b:undo_ftplugin = 'setlocal comments< commentstring<'
Reply all
Reply to author
Forward
0 new messages