patch 9.1.1504: filetype: numbat files are not recognized

Commit: 
https://github.com/vim/vim/commit/20eb68a8f29008fe9041e60b920246f64ee29335
Author: 0xadk <0x...@users.noreply.github.com>
Date:   Wed Jul 2 19:46:05 2025 +0200

    patch 9.1.1504: filetype: numbat files are not recognized
    
    Problem:  filetype: numbat files are not recognized
    Solution: detect *.nbt files as numbat filetype (0xadk)
    
    References:
    - https://github.com/sharkdp/numbat
    - https://github.com/sharkdp/numbat/tree/master/numbat/modules
    
    closes: #17643
    
    Signed-off-by: 0xadk <0x...@users.noreply.github.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f019c75a1..55bb45162 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1771,6 +1771,9 @@ au BufNewFile,BufRead *.nt                        setf 
ntriples
 " Nu
 au BufNewFile,BufRead *.nu             setf nu
 
+" Numbat
+au BufNewFile,BufRead *.nbt            setf numbat
+
 " Oblivion Language and Oblivion Script Extender
 au BufNewFile,BufRead *.obl,*.obse,*.oblivion,*.obscript  setf obse
 
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 2f5189d23..286132b83 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -567,6 +567,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     nsis: ['file.nsi', 'file.nsh'],
     ntriples: ['file.nt'],
     nu: ['file.nu'],
+    numbat: ['file.nbt'],
     obj: ['file.obj'],
     objdump: ['file.objdump', 'file.cppobjdump'],
     obse: ['file.obl', 'file.obse', 'file.oblivion', 'file.obscript'],
diff --git a/src/version.c b/src/version.c
index 9b2b53c19..20243ac5d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1504,
 /**/
     1503,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uX1kZ-00GoJO-H0%40256bit.org.

Raspunde prin e-mail lui