mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
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:
committed by
Christian Brabandt
parent
af4a5d6e2a
commit
c3f48e3a76
1
.github/MAINTAINERS
vendored
1
.github/MAINTAINERS
vendored
@ -124,6 +124,7 @@ runtime/doc/vimtutor-ru.UTF-8.1 @RestorerZ
|
|||||||
runtime/doc/xxd-ru.1 @RestorerZ
|
runtime/doc/xxd-ru.1 @RestorerZ
|
||||||
runtime/doc/xxd-ru.UTF-8.1 @RestorerZ
|
runtime/doc/xxd-ru.UTF-8.1 @RestorerZ
|
||||||
runtime/ftplugin/abaqus.vim @costerwi
|
runtime/ftplugin/abaqus.vim @costerwi
|
||||||
|
runtime/ftplugin/abnf.vim @A4-Tacks
|
||||||
runtime/ftplugin/antlr4.vim @jiangyinzuo
|
runtime/ftplugin/antlr4.vim @jiangyinzuo
|
||||||
runtime/ftplugin/apache.vim @dubgeiser
|
runtime/ftplugin/apache.vim @dubgeiser
|
||||||
runtime/ftplugin/arduino.vim @k-takata
|
runtime/ftplugin/arduino.vim @k-takata
|
||||||
|
17
runtime/ftplugin/abnf.vim
Normal file
17
runtime/ftplugin/abnf.vim
Normal 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
|
Reference in New Issue
Block a user