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 <chronobserver@disroot.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
110dd905dd
commit
7bed263c34
@ -95,6 +95,9 @@ au BufNewFile,BufRead *.aidl setf aidl
|
|||||||
" AMPL
|
" AMPL
|
||||||
au BufNewFile,BufRead *.run setf ampl
|
au BufNewFile,BufRead *.run setf ampl
|
||||||
|
|
||||||
|
" Angular in HTML
|
||||||
|
au BufNewFile,BufRead *.component.html setf html.angular
|
||||||
|
|
||||||
" Ant
|
" Ant
|
||||||
au BufNewFile,BufRead build.xml setf ant
|
au BufNewFile,BufRead build.xml setf ant
|
||||||
|
|
||||||
@ -1397,6 +1400,9 @@ au BufRead,BufNewFile *.mu setf mupad
|
|||||||
" Mush
|
" Mush
|
||||||
au BufNewFile,BufRead *.mush setf mush
|
au BufNewFile,BufRead *.mush setf mush
|
||||||
|
|
||||||
|
" Mustache
|
||||||
|
au BufNewFile,BufRead *.mustache setf mustache
|
||||||
|
|
||||||
" Mutt setup file (also for Muttng)
|
" Mutt setup file (also for Muttng)
|
||||||
au BufNewFile,BufRead Mutt{ng,}rc setf muttrc
|
au BufNewFile,BufRead Mutt{ng,}rc setf muttrc
|
||||||
|
|
||||||
|
|||||||
@ -319,6 +319,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
hostconf: ['/etc/host.conf', 'any/etc/host.conf'],
|
hostconf: ['/etc/host.conf', 'any/etc/host.conf'],
|
||||||
hostsaccess: ['/etc/hosts.allow', '/etc/hosts.deny', 'any/etc/hosts.allow', 'any/etc/hosts.deny'],
|
hostsaccess: ['/etc/hosts.allow', '/etc/hosts.deny', 'any/etc/hosts.allow', 'any/etc/hosts.deny'],
|
||||||
html: ['file.html', 'file.htm', 'file.cshtml'],
|
html: ['file.html', 'file.htm', 'file.cshtml'],
|
||||||
|
'html.angular': ['file.component.html'],
|
||||||
htmlm4: ['file.html.m4'],
|
htmlm4: ['file.html.m4'],
|
||||||
httest: ['file.htt', 'file.htb'],
|
httest: ['file.htt', 'file.htb'],
|
||||||
hurl: ['file.hurl'],
|
hurl: ['file.hurl'],
|
||||||
@ -466,6 +467,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
mojo: ['file.mojo', 'file.🔥'],
|
mojo: ['file.mojo', 'file.🔥'],
|
||||||
mupad: ['file.mu'],
|
mupad: ['file.mu'],
|
||||||
mush: ['file.mush'],
|
mush: ['file.mush'],
|
||||||
|
mustache: ['file.mustache'],
|
||||||
muttrc: ['Muttngrc', 'Muttrc', '.muttngrc', '.muttngrc-file', '.muttrc',
|
muttrc: ['Muttngrc', 'Muttrc', '.muttngrc', '.muttngrc-file', '.muttrc',
|
||||||
'.muttrc-file', '/.mutt/muttngrc', '/.mutt/muttngrc-file',
|
'.muttrc-file', '/.mutt/muttngrc', '/.mutt/muttngrc-file',
|
||||||
'/.mutt/muttrc', '/.mutt/muttrc-file', '/.muttng/muttngrc',
|
'/.mutt/muttrc', '/.mutt/muttrc-file', '/.muttng/muttngrc',
|
||||||
|
|||||||
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2137,
|
||||||
/**/
|
/**/
|
||||||
2136,
|
2136,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user