mirror of
https://github.com/neovim/neovim.git
synced 2026-03-30 20:32:08 +00:00
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:
@@ -472,6 +472,7 @@ local extension = {
|
||||
fwt = 'fan',
|
||||
lib = 'faust',
|
||||
fnl = 'fennel',
|
||||
fnml = 'fennel',
|
||||
fga = 'fga',
|
||||
m4gl = 'fgl',
|
||||
['4gl'] = 'fgl',
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user