runtime(autopkgtest): add ftplugin file for autopkgtest Commit: https://github.com/vim/vim/commit/244198f0396fe1d744a3accdb78af7948c8f5cbb Author: James McCoy <james...@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 <james...@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<' -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1uYS1A-006z8L-Jv%40256bit.org.