mirror of
https://github.com/neovim/neovim.git
synced 2026-08-28 18:11:47 +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',
|
fwt = 'fan',
|
||||||
lib = 'faust',
|
lib = 'faust',
|
||||||
fnl = 'fennel',
|
fnl = 'fennel',
|
||||||
|
fnml = 'fennel',
|
||||||
fga = 'fga',
|
fga = 'fga',
|
||||||
m4gl = 'fgl',
|
m4gl = 'fgl',
|
||||||
['4gl'] = 'fgl',
|
['4gl'] = 'fgl',
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ 'falcon': ['file.fal'],
|
\ 'falcon': ['file.fal'],
|
||||||
\ 'fan': ['file.fan', 'file.fwt'],
|
\ 'fan': ['file.fan', 'file.fwt'],
|
||||||
\ 'faust': ['file.dsp', 'file.lib'],
|
\ 'faust': ['file.dsp', 'file.lib'],
|
||||||
\ 'fennel': ['file.fnl', '.fennelrc', 'fennelrc'],
|
\ 'fennel': ['file.fnl', '.fennelrc', 'fennelrc', 'file.fnml'],
|
||||||
\ 'fetchmail': ['.fetchmailrc'],
|
\ 'fetchmail': ['.fetchmailrc'],
|
||||||
\ 'fga': ['file.fga'],
|
\ 'fga': ['file.fga'],
|
||||||
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],
|
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],
|
||||||
|
|||||||
Reference in New Issue
Block a user