runtime(abnf): include ABNF filetype plugin
Commit:
https://github.com/vim/vim/commit/c3f48e3a76c61884d7801171ced327b76965bf29
Author: A4-Tacks <[email protected]>
Date: Fri May 2 15:40:33 2025 +0200
runtime(abnf): include ABNF filetype plugin
closes: https://github.com/vim/vim/issues/17239
Signed-off-by: A4-Tacks <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index 13c45daf8..19a65c0c4 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -124,6 +124,7 @@ runtime/doc/vimtutor-ru.UTF-8.1 @RestorerZ
runtime/doc/xxd-ru.1 @RestorerZ
runtime/doc/xxd-ru.UTF-8.1 @RestorerZ
runtime/ftplugin/abaqus.vim @costerwi
+runtime/ftplugin/abnf.vim @A4-Tacks
runtime/ftplugin/antlr4.vim @jiangyinzuo
runtime/ftplugin/apache.vim @dubgeiser
runtime/ftplugin/arduino.vim @k-takata
diff --git a/runtime/ftplugin/abnf.vim b/runtime/ftplugin/abnf.vim
new file mode 100644
index 000000000..4741d5f05
--- /dev/null
+++ b/runtime/ftplugin/abnf.vim
@@ -0,0 +1,17 @@
+" Language: abnf
+" Maintainer: A4-Tacks <[email protected]>
+" Last Change: 2025-05-02
+" Upstream: https://github.com/A4-Tacks/abnf.vim
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = 'setlocal iskeyword< comments< commentstring<'
+
+setlocal iskeyword=@,48-57,_,-,192-255
+setlocal comments=:;;,:;
+setlocal commentstring=;%s
+
+" vim:ts=8
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1uAqhO-003XAG-Pi%40256bit.org.