]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(autopkgtest): add ftplugin file for autopkgtest
authorJames McCoy <jamessan@jamessan.com>
Sun, 6 Jul 2025 16:01:18 +0000 (18:01 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 6 Jul 2025 16:01:18 +0000 (18:01 +0200)
closes: #17679

Signed-off-by: James McCoy <jamessan@debian.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/autopkgtest.vim [new file with mode: 0644]

diff --git a/runtime/ftplugin/autopkgtest.vim b/runtime/ftplugin/autopkgtest.vim
new file mode 100644 (file)
index 0000000..3b9d59a
--- /dev/null
@@ -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<'