patch 9.1.2021: filetype: fluent files are not recognized

Commit: 
https://github.com/vim/vim/commit/b91b30643af00947e4b0f8758b3e44bb9927faee
Author: ners <[email protected]>
Date:   Fri Dec 26 15:27:19 2025 +0000

    patch 9.1.2021: filetype: fluent files are not recognized
    
    Problem:  filetype: fluent files are not recognized
    Solution: Detect *.ftl files as fluent filetype (ners)
    
    References:
    - https://projectfluent.org/
    
    closes: #19011
    
    Signed-off-by: ners <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index 4aa5ce054..0ab087b0f 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 22
+# Last Change:         2025 Dec 26
 # Former Maintainer:   Bram Moolenaar <[email protected]>
 
 # These functions are moved here from runtime/filetype.vim to make startup
@@ -1976,6 +1976,8 @@ const ft_from_ext = {
   "fish": "fish",
   # Flix
   "flix": "flix",
+  # Fluent
+  "ftl": "fluent",
   # Focus Executable
   "fex": "focexec",
   "focexec": "focexec",
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index ee6f6c9ec..b3e6fc171 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -298,6 +298,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     firrtl: ['file.fir'],
     fish: ['file.fish'],
     flix: ['file.flix'],
+    fluent: ['file.ftl'],
     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 82e85a94d..00146a0a5 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 */
+/**/
+    2021,
 /**/
     2020,
 /**/

-- 
-- 
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/E1vZ9lW-00GtDH-Fe%40256bit.org.

Raspunde prin e-mail lui