neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit bd10f781b84254739e37dae90b5eba823fde20b7
parent dddb125b0bead80945e5952128063dadeae00453
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 31 Dec 2025 20:25:19 +0800

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

https://github.com/vim/vim/commit/ea189a6f4d2a1f4a1f2822cbd2aed0a584ecceea

Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
Mruntime/lua/vim/filetype.lua | 2+-
Mtest/old/testdir/test_filetype.vim | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua @@ -472,7 +472,7 @@ local extension = { fwt = 'fan', lib = 'faust', fnl = 'fennel', - fnml = 'fennel', + fnlm = 'fennel', fga = 'fga', m4gl = 'fgl', ['4gl'] = 'fgl', diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim @@ -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'],