patch 9.1.1694: filetype: Buck eXtension Lang files are not recognized

Commit: 
https://github.com/vim/vim/commit/3aea867b276360ab8eb675fc4a9af5be774323e4
Author: Jade Lovelace <ja...@mercury.com>
Date:   Tue Aug 26 21:28:02 2025 +0200

    patch 9.1.1694: filetype: Buck eXtension Lang files are not recognized
    
    Problem:  filetype: Buck eXtension Lang files are not recognized
    Solution: Detect *.bxl files as bzl filetype.
              (Jade Lovelace)
    
    References:
    - https://buck2.build/docs/bxl/
    
    closes: #18130
    
    Signed-off-by: Jade Lovelace <ja...@mercury.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index af21a47fb..ab5a0b7b5 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -319,7 +319,7 @@ au BufNewFile,BufRead *.brs                 setf 
brightscript
 au BufNewFile,BufRead *.bsd,*.bsdl                     setf bsdl
 
 " Bazel (https://bazel.build) and Buck2 (https://buck2.build/)
-autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE,WORKSPACE.bzlmod    setf bzl
+autocmd BufRead,BufNewFile *.bzl,*.bxl,*.bazel,WORKSPACE,WORKSPACE.bzlmod      
setf bzl
 if has("fname_case")
   " There is another check for BUILD and BUCK further below.
   autocmd BufRead,BufNewFile *.BUILD,BUILD,BUCK                setf bzl
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 43d103908..faa1d04cb 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -152,7 +152,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     brightscript: ['file.brs'],
     bsdl: ['file.bsd', 'file.bsdl'],
     bst: ['file.bst'],
-    bzl: ['file.bazel', 'file.bzl', 'WORKSPACE', 'WORKSPACE.bzlmod'],
+    bzl: ['file.bazel', 'file.bzl', 'file.bxl', 'WORKSPACE', 
'WORKSPACE.bzlmod'],
     bzr: ['bzr_log.any', 'bzr_log.file'],
     c: ['enlightenment/file.cfg', 'file.qc', 'file.c', 
'some-enlightenment/file.cfg', 'file.mdh', 'file.epro'],
     c3: ['file.c3', 'file.c3i', 'file.c3t'],
diff --git a/src/version.c b/src/version.c
index 4993aa8d4..a28eef78f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1694,
 /**/
     1693,
 /**/

-- 
-- 
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/E1uqzbL-003r2t-AQ%40256bit.org.

Raspunde prin e-mail lui