vim-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: vim/vim#13594

7bed263c34
This commit is contained in:
ObserverOfTime
2023-11-30 19:00:33 +02:00
committed by Christian Clason
parent 7feed6ccb7
commit 307d5bcc79
2 changed files with 4 additions and 0 deletions

View File

@@ -695,6 +695,7 @@ local extension = {
msql = 'msql',
mu = 'mupad',
mush = 'mush',
mustache = 'mustache',
mysql = 'mysql',
n1ql = 'n1ql',
nql = 'n1ql',
@@ -1716,6 +1717,7 @@ local pattern = {
['.*/etc/host%.conf'] = 'hostconf',
['.*/etc/hosts%.deny'] = 'hostsaccess',
['.*/etc/hosts%.allow'] = 'hostsaccess',
['.*%.component%.html'] = 'html.angular',
['.*%.html%.m4'] = 'htmlm4',
['.*/%.i3/config'] = 'i3config',
['.*/i3/config'] = 'i3config',