patch 9.1.2035: filetype: filetype: Fennel fnlm files are not recognized

Commit: 
https://github.com/vim/vim/commit/ea189a6f4d2a1f4a1f2822cbd2aed0a584ecceea
Author: Christian Brabandt <[email protected]>
Date:   Wed Dec 31 11:52:34 2025 +0000

    patch 9.1.2035: filetype: filetype: Fennel fnlm files are not recognized
    
    Problem:  filetype: Fennel fnlm files are not recognized
              (Alexei Mozaidze, after v9.1.2034)
    Solution: Detect *.fnlm files as fennel filetype, revert detecting
              *.fnml files
    
    related: #19047
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index c38671a3a..f9c19319b 100644
--- a/runtime/autoload/dist/ft.vim
+++ b/runtime/autoload/dist/ft.vim
@@ -1878,7 +1878,7 @@ const ft_from_ext = {
   "lib": "faust",
   # Fennel
   "fnl": "fennel",
-  "fnml": "fennel",
+  "fnlm": "fennel",
   # Libreoffice config files
   "xcu": "xml",
   "xlb": "xml",
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 700ffe846..300a7536f 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -292,7 +292,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     falcon: ['file.fal'],
     fan: ['file.fan', 'file.fwt'],
     faust: ['file.dsp', 'file.lib'],
-    fennel: ['file.fnl', '.fennelrc', 'fennelrc', 'file.fnml'],
+    fennel: ['file.fnl', '.fennelrc', 'fennelrc', 'file.fnlm'],
     fetchmail: ['.fetchmailrc'],
     fga: ['file.fga'],
     fgl: ['file.4gl', 'file.4gh', 'file.m4gl'],
diff --git a/src/version.c b/src/version.c
index 0dbd5795e..c04f67b90 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 */
+/**/
+    2035,
 /**/
     2034,
 /**/

-- 
-- 
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/E1vaurz-0074tS-MJ%40256bit.org.

Raspunde prin e-mail lui