patch 9.1.2008: filetype: hylo files are not recognized

Commit: 
https://github.com/vim/vim/commit/9c9982240afca5c5efe6f235f2157a5e5165170c
Author: Ambrus Tóth <[email protected]>
Date:   Mon Dec 22 18:26:52 2025 +0000

    patch 9.1.2008: filetype: hylo files are not recognized
    
    Problem:  filetype: hylo files are not recognized
    Solution: Detect *.hylo files as hylo filetype (Ambrus Tóth)
    
    References:
    - https://hylo-lang.org/
    
    closes: #18994
    
    Signed-off-by: Ambrus Tóth <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index c6f05d09e..4aa5ce054 100644
--- a/runtime/autoload/dist/ft.vim
+++ b/runtime/autoload/dist/ft.vim
@@ -3,7 +3,7 @@ vim9script
 # Vim functions for file type detection
 #
 # Maintainer:          The Vim Project <https://github.com/vim/vim>
-# Last Change:         2025 Dec 14
+# Last Change:         2025 Dec 22
 # Former Maintainer:   Bram Moolenaar <[email protected]>
 
 # These functions are moved here from runtime/filetype.vim to make startup
@@ -2118,6 +2118,8 @@ const ft_from_ext = {
   "tmpl": "template",
   # Hurl
   "hurl": "hurl",
+  # Hylo
+  "hylo": "hylo",
   # Hyper Builder
   "hb": "hb",
   # Httest
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 6392f6996..03682688c 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -381,6 +381,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     http: ['file.http'],
     hurl: ['file.hurl'],
     hy: ['file.hy', '.hy-history'],
+    hylo: ['file.hylo'],
     hyprlang: ['hyprlock.conf', 'hyprland.conf', 'hypridle.conf', 
'hyprpaper.conf', '/hypr/foo.conf'],
     i3config: ['/home/user/.i3/config', '/home/user/.config/i3/config', 
'/etc/i3/config', '/etc/xdg/i3/config'],
     ibasic: ['file.iba', 'file.ibi'],
diff --git a/src/version.c b/src/version.c
index ce81ba547..39b4a15ad 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2008,
 /**/
     2007,
 /**/

-- 
-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vXkfa-00AVON-CI%40256bit.org.

Raspunde prin e-mail lui