From 244198f0396fe1d744a3accdb78af7948c8f5cbb Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sun, 6 Jul 2025 18:01:18 +0200 Subject: [PATCH] runtime(autopkgtest): add ftplugin file for autopkgtest closes: #17679 Signed-off-by: James McCoy Signed-off-by: Christian Brabandt --- runtime/ftplugin/autopkgtest.vim | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 runtime/ftplugin/autopkgtest.vim diff --git a/runtime/ftplugin/autopkgtest.vim b/runtime/ftplugin/autopkgtest.vim new file mode 100644 index 0000000000..3b9d59a979 --- /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<'