runtime(abnf): include ABNF filetype plugin

closes: #17239

Signed-off-by: A4-Tacks <wdsjxhno1001@163.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
A4-Tacks
2025-05-02 15:40:33 +02:00
committed by Christian Brabandt
parent af4a5d6e2a
commit c3f48e3a76
2 changed files with 18 additions and 0 deletions

1
.github/MAINTAINERS vendored
View File

@ -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

17
runtime/ftplugin/abnf.vim Normal file
View File

@ -0,0 +1,17 @@
" Language: abnf
" Maintainer: A4-Tacks <wdsjxhno1001@163.com>
" 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