From aa853f362addded400d52d8fdfe5247c300c0e89 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 26 Jul 2024 21:53:28 +0200 Subject: [PATCH] vim-patch:a7295ae: runtime(autohotkey): include initial filetype plugin closes: vim/vim#15345 https://github.com/vim/vim/commit/a7295ae7f5b956758f1c9c9a29d10c48661b29bc Co-authored-by: Peter Aronoff --- runtime/ftplugin/autohotkey.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 runtime/ftplugin/autohotkey.vim diff --git a/runtime/ftplugin/autohotkey.vim b/runtime/ftplugin/autohotkey.vim new file mode 100644 index 0000000000..9cb4fd7fdf --- /dev/null +++ b/runtime/ftplugin/autohotkey.vim @@ -0,0 +1,16 @@ +" Vim filetype plugin file +" Language: AutoHotkey +" Maintainer: Peter Aronoff +" Last Changed: 2024 Jul 25 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=:; +setlocal commentstring=;\ %s + +let b:undo_ftplugin = "setlocal comments< commentstring<" + +" vim: nowrap sw=2 sts=2 ts=8 noet: