var n = 1
# Test if the filename follows the Angular component template convention
- if expand('%:t') =~ '^.*\.component\.html$'
- setf htmlangular
- return
- endif
+ # Disabled for the reasons mentioned here: #13594
+ # if expand('%:t') =~ '^.*\.component\.html$'
+ # setf htmlangular
+ # return
+ # endif
while n < 40 && n <= line("$")
# Check for Angular
hoon: ['file.hoon'],
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'],
- htmlangular: ['file.component.html'],
+ # file.component.html should be HTML, not Angular, see #13594
+ html: ['file.html', 'file.htm', 'file.cshtml', 'file.component.html'],
htmlm4: ['file.html.m4'],
httest: ['file.htt', 'file.htb'],
hurl: ['file.hurl'],