aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-06 19:39:49 +0800
committerGitHub <noreply@github.com>2025-03-06 19:39:49 +0800
commitbaccb569dc8508af5bea521bd27800c478883b29 (patch)
tree62e36e4e6ca58bc0e4d3d41139d8ad37903ff81e /runtime/lua/vim
parentfa46441264b28e9272973ead7bea65f27868e94c (diff)
downloadrneovim-baccb569dc8508af5bea521bd27800c478883b29.tar.gz
rneovim-baccb569dc8508af5bea521bd27800c478883b29.tar.bz2
rneovim-baccb569dc8508af5bea521bd27800c478883b29.zip
vim-patch:9.1.1173: filetype: ABNF files are not detected (#32751)
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: vim/vim#16802 https://github.com/vim/vim/commit/9f827ec58728c4ea55a8d71d40a283ca2ce5b058 Co-authored-by: A4-Tacks <wdsjxhno1001@163.com>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index c47ce5e761..930e2142e7 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -198,6 +198,7 @@ local extension = {
abap = 'abap',
abc = 'abc',
abl = 'abel',
+ abnf = 'abnf',
wrm = 'acedb',
ads = 'ada',
ada = 'ada',