changeset 35812:1b8302bfda0a

runtime(autohotkey): include initial filetype plugin Commit: https://github.com/vim/vim/commit/a7295ae7f5b956758f1c9c9a29d10c48661b29bc Author: Peter Aronoff <peter@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 <peter@aronoff.org> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Jul 2024 19:30:06 +0200
parents bda6996da869
children 1d530eedf22f
files .github/MAINTAINERS runtime/ftplugin/autohotkey.vim
diffstat 2 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
new file mode 100644
--- /dev/null
+++ b/runtime/ftplugin/autohotkey.vim
@@ -0,0 +1,16 @@
+" Vim filetype plugin file
+" Language:     AutoHotkey
+" Maintainer:   Peter Aronoff <peteraronoff@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: