mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:668e9f2: runtime(filetype): don't detect string interpolation as angular
fixes: vim/vim#16375
668e9f2403
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
6a425e7045
commit
9e0d40f7e4
@ -757,7 +757,7 @@ function M.html(_, bufnr)
|
||||
if
|
||||
matchregex(
|
||||
line,
|
||||
[[@\(if\|for\|defer\|switch\)\|\*\(ngIf\|ngFor\|ngSwitch\|ngTemplateOutlet\)\|ng-template\|ng-content\|{{.*}}]]
|
||||
[[@\(if\|for\|defer\|switch\)\|\*\(ngIf\|ngFor\|ngSwitch\|ngTemplateOutlet\)\|ng-template\|ng-content]]
|
||||
)
|
||||
then
|
||||
return 'htmlangular'
|
||||
|
Loading…
Reference in New Issue
Block a user