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:
Christian Clason 2025-01-11 10:58:10 +01:00 committed by Christian Clason
parent 6a425e7045
commit 9e0d40f7e4

View File

@ -757,7 +757,7 @@ function M.html(_, bufnr)
if if
matchregex( matchregex(
line, 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 then
return 'htmlangular' return 'htmlangular'