summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_filetype.vim
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2023-11-30 17:41:19 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-30 17:41:19 +0100
commit7bed263c343c62129c5d8f51796895a28db1b312 (patch)
tree13af5edffd8155a8d288c02d9c72745ebccc39ed /src/testdir/test_filetype.vim
parent110dd905ddded8a1300a047c6ae42cccd89b002f (diff)
patch 9.0.2137: Can't detect angular & mustache filetypesv9.0.2137
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 <chronobserver@disroot.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/test_filetype.vim')
-rw-r--r--src/testdir/test_filetype.vim2
1 files changed, 2 insertions, 0 deletions
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<list<string>>
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<list<string>>
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',