mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:9.0.2139: html.angular ft is problematic (#26357)
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: vim/vim#13604
4f3480c943
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
f6e5366d00
commit
fedbf32250
@ -1717,7 +1717,6 @@ 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',
|
||||
|
@ -308,8 +308,7 @@ func s:GetFilenameChecks() abort
|
||||
\ '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'],
|
||||
\ 'html.angular': ['file.component.html'],
|
||||
\ 'html': ['file.html', 'file.htm', 'file.cshtml', 'file.component.html'],
|
||||
\ 'htmlm4': ['file.html.m4'],
|
||||
\ 'httest': ['file.htt', 'file.htb'],
|
||||
\ 'hurl': ['file.hurl'],
|
||||
|
Loading…
Reference in New Issue
Block a user