aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-07-26 21:53:28 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-07-27 01:12:09 +0200
commitaa853f362addded400d52d8fdfe5247c300c0e89 (patch)
treed314a826cab2be6f81b986cf0be03d9eeefa70c5
parentbb185d63ab86e305e35603297a88c0ec8fba27ae (diff)
downloadrneovim-aa853f362addded400d52d8fdfe5247c300c0e89.tar.gz
rneovim-aa853f362addded400d52d8fdfe5247c300c0e89.tar.bz2
rneovim-aa853f362addded400d52d8fdfe5247c300c0e89.zip
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 <peter@aronoff.org>
-rw-r--r--runtime/ftplugin/autohotkey.vim16
1 files changed, 16 insertions, 0 deletions
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 <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: