mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-02-01 11:33:15 +01:00
patch 9.1.2035: filetype: filetype: Fennel fnlm files are not recognized
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: #19047
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
2
runtime/autoload/dist/ft.vim
vendored
2
runtime/autoload/dist/ft.vim
vendored
@@ -1878,7 +1878,7 @@ const ft_from_ext = {
|
||||
"lib": "faust",
|
||||
# Fennel
|
||||
"fnl": "fennel",
|
||||
"fnml": "fennel",
|
||||
"fnlm": "fennel",
|
||||
# Libreoffice config files
|
||||
"xcu": "xml",
|
||||
"xlb": "xml",
|
||||
|
||||
@@ -292,7 +292,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
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'],
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2035,
|
||||
/**/
|
||||
2034,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user