vim-patch:9.1.2035: filetype: filetype: Fennel fnlm files are not recognized (#37178)

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: vim/vim#19047

ea189a6f4d

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-12-31 20:25:19 +08:00
committed by GitHub
parent dddb125b0b
commit bd10f781b8
2 changed files with 2 additions and 2 deletions

View File

@@ -472,7 +472,7 @@ local extension = {
fwt = 'fan',
lib = 'faust',
fnl = 'fennel',
fnml = 'fennel',
fnlm = 'fennel',
fga = 'fga',
m4gl = 'fgl',
['4gl'] = 'fgl',

View File

@@ -292,7 +292,7 @@ func s:GetFilenameChecks() abort
\ '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'],