commit 0d9bf5b89f3896c1b436ee5acf2134d5495abeab parent 4310f3f580716bfac25e465d756e51a42ac6dfff Author: Christian Clason <c.clason@uni-graz.at> Date: Sun, 6 Jul 2025 18:14:22 +0200 vim-patch:244198f: runtime(autopkgtest): add ftplugin file for autopkgtest closes: vim/vim#17679 https://github.com/vim/vim/commit/244198f0396fe1d744a3accdb78af7948c8f5cbb Co-authored-by: James McCoy <jamessan@jamessan.com> Diffstat:
| A | runtime/ftplugin/autopkgtest.vim | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/runtime/ftplugin/autopkgtest.vim 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<'