vim-patch:9.1.2034: filetype: Fennel fnml files are not recognized (#37176)

Problem:  filetype: Fennel fnml files are not recognized
          (Alexei Mozaidze)
Solution: Detect *.fnml files as fennel filetype

Reference:
- https://fennel-lang.org/changelog#160--2025-10-13

fixes: vim/vim#19047

9c87af5c3c

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-12-31 18:39:50 +08:00
committed by GitHub
parent f4f60f6a19
commit 8e80e54478
2 changed files with 2 additions and 1 deletions

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'],
\ 'fennel': ['file.fnl', '.fennelrc', 'fennelrc', 'file.fnml'],
\ 'fetchmail': ['.fetchmailrc'],
\ 'fga': ['file.fga'],
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],