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 <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-12-31 11:52:34 +00:00
parent 9c87af5c3c
commit ea189a6f4d
3 changed files with 4 additions and 2 deletions

View File

@@ -1878,7 +1878,7 @@ const ft_from_ext = {
"lib": "faust",
# Fennel
"fnl": "fennel",
"fnml": "fennel",
"fnlm": "fennel",
# Libreoffice config files
"xcu": "xml",
"xlb": "xml",

View File

@@ -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'],

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2035,
/**/
2034,
/**/