patch 9.1.1501: filetype: flix files are not recognized

Commit: 
https://github.com/vim/vim/commit/b211916e0ae818e0653ae23ae71565b24ccba307
Author: 0xadk <0x...@users.noreply.github.com>
Date:   Wed Jul 2 18:55:55 2025 +0200

    patch 9.1.1501: filetype: flix files are not recognized
    
    Problem:  filetype: flix files are not recognized
    Solution: detect *.flix files as flix filetype
              (0xadk)
    
    References:
    - https://flix.dev/
    - https://doc.flix.dev/introduction.html
    
    closes: #17646
    
    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 6b0e5d611..a132a4a54 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -893,6 +893,9 @@ au BufNewFile,BufRead *.fish                        setf 
fish
 " Flatpak config
 au BufNewFile,BufRead */flatpak/repo/config    setf dosini
 
+" Flix
+au BufNewFile,BufRead *.flix                   setf flix
+
 " Focus Executable
 au BufNewFile,BufRead *.fex,*.focexec          setf focexec
 
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 0c74ffba7..844bdb325 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -287,6 +287,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     fgl: ['file.4gl', 'file.4gh', 'file.m4gl'],
     firrtl: ['file.fir'],
     fish: ['file.fish'],
+    flix: ['file.flix'],
     focexec: ['file.fex', 'file.focexec'],
     form: ['file.frm'],
     forth: ['file.ft', 'file.fth', 'file.4th'],
diff --git a/src/version.c b/src/version.c
index cbf39bf2d..72f0a016c 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 */
+/**/
+    1501,
 /**/
     1500,
 /**/

-- 
-- 
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/E1uX0od-00GiyQ-97%40256bit.org.

Raspunde prin e-mail lui