From 7bed263c343c62129c5d8f51796895a28db1b312 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Thu, 30 Nov 2023 17:41:19 +0100 Subject: patch 9.0.2137: Can't detect angular & mustache filetypes Problem: Can't detect angular & mustache filetypes Solution: Detect *.mustache as Mustache filetype; detect *.component.html as html.angular filetype closes: #13594 Signed-off-by: ObserverOfTime Signed-off-by: Christian Brabandt --- src/testdir/test_filetype.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/testdir/test_filetype.vim') diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 9aa440318b..0de4c807a0 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -319,6 +319,7 @@ def s:GetFilenameChecks(): dict> hostconf: ['/etc/host.conf', 'any/etc/host.conf'], hostsaccess: ['/etc/hosts.allow', '/etc/hosts.deny', 'any/etc/hosts.allow', 'any/etc/hosts.deny'], html: ['file.html', 'file.htm', 'file.cshtml'], + 'html.angular': ['file.component.html'], htmlm4: ['file.html.m4'], httest: ['file.htt', 'file.htb'], hurl: ['file.hurl'], @@ -466,6 +467,7 @@ def s:GetFilenameChecks(): dict> mojo: ['file.mojo', 'file.🔥'], mupad: ['file.mu'], mush: ['file.mush'], + mustache: ['file.mustache'], muttrc: ['Muttngrc', 'Muttrc', '.muttngrc', '.muttngrc-file', '.muttrc', '.muttrc-file', '/.mutt/muttngrc', '/.mutt/muttngrc-file', '/.mutt/muttrc', '/.mutt/muttrc-file', '/.muttng/muttngrc', -- cgit v1.2.3