mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.2139: html.angular ft is problematic
Problem: html.angular ft is problematic Solution: partly revert v9.0.2137 The html.angular filetype causes issues and does not trigger FileType autocommands for the html or angular filetypes. So let's roll back that particular change and detect this only as html file related: https://github.com/vim/vim/pull/13594#issuecomment-1834465890 closes: #13604 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -95,9 +95,6 @@ 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
|
||||||
|
|
||||||
|
@@ -318,8 +318,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
hoon: ['file.hoon'],
|
hoon: ['file.hoon'],
|
||||||
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', 'file.component.html'],
|
||||||
'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'],
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
2139,
|
||||||
/**/
|
/**/
|
||||||
2138,
|
2138,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user