mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00: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:

committed by
Christian Clason

parent
6a425e7045
commit
9e0d40f7e4
@@ -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'
|
||||||
|
Reference in New Issue
Block a user