forked from aniani/vim
patch 9.1.1173: filetype: ABNF files are not detected
Problem: filetype: ABNF files are not detected
Solution: detect '.abnf' file as abnf filetype and
include an abnf syntax plugin (A4-Tacks).
References:
- RFC5234
- RFC7405
closes: #16802
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
3ed6659549
commit
9f827ec587
@@ -1,7 +1,7 @@
|
||||
" Vim support file to detect file types
|
||||
"
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2025 Feb 23
|
||||
" Last Change: 2025 Mar 05
|
||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
" Listen very carefully, I will say this only once
|
||||
@@ -75,6 +75,9 @@ au BufNewFile,BufRead *.abc setf abc
|
||||
" ABEL
|
||||
au BufNewFile,BufRead *.abl setf abel
|
||||
|
||||
" ABNF
|
||||
au BufNewFile,BufRead *.abnf setf abnf
|
||||
|
||||
" AceDB
|
||||
au BufNewFile,BufRead *.wrm setf acedb
|
||||
|
||||
|
||||
Reference in New Issue
Block a user