Commit: runtime(autohotkey): include initial filetype plugin

2 views
Skip to first unread message

Christian Brabandt

unread,
Jul 26, 2024, 1:30:12 PM7/26/24
to vim...@googlegroups.com
runtime(autohotkey): include initial filetype plugin

Commit: https://github.com/vim/vim/commit/a7295ae7f5b956758f1c9c9a29d10c48661b29bc
Author: Peter Aronoff <pe...@aronoff.org>
Date: Fri Jul 26 19:24:33 2024 +0200

runtime(autohotkey): include initial filetype plugin

closes: https://github.com/vim/vim/issues/15345

Signed-off-by: Peter Aronoff <pe...@aronoff.org>
Signed-off-by: Doug Kearns <dougk...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index 0c5c3d627..47a175170 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -114,6 +114,7 @@ runtime/ftplugin/apache.vim @dubgeiser
runtime/ftplugin/arduino.vim @k-takata
runtime/ftplugin/astro.vim @romainl
runtime/ftplugin/asy.vim @avidseeker
+runtime/ftplugin/autohotkey.vim @telemachus
runtime/ftplugin/awk.vim @dkearns
runtime/ftplugin/basic.vim @dkearns
runtime/ftplugin/bst.vim @tpope
diff --git a/runtime/ftplugin/autohotkey.vim b/runtime/ftplugin/autohotkey.vim
new file mode 100644
index 000000000..9cb4fd7fd
--- /dev/null
+++ b/runtime/ftplugin/autohotkey.vim
@@ -0,0 +1,16 @@
+" Vim filetype plugin file
+" Language: AutoHotkey
+" Maintainer: Peter Aronoff <petera...@fastmail.com>
+" 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:
Reply all
Reply to author
Forward
0 new messages