aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-01-11 10:58:10 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-01-11 11:20:19 +0100
commit9e0d40f7e45f483e54d38be1266f63240808b4b0 (patch)
tree6a056aab97349f9345541500aa264eddc33103cb /runtime/lua/vim
parent6a425e7045cca609d95612c0f2cd08d0265238a9 (diff)
downloadrneovim-9e0d40f7e45f483e54d38be1266f63240808b4b0.tar.gz
rneovim-9e0d40f7e45f483e54d38be1266f63240808b4b0.tar.bz2
rneovim-9e0d40f7e45f483e54d38be1266f63240808b4b0.zip
vim-patch:668e9f2: runtime(filetype): don't detect string interpolation as angular
fixes: vim/vim#16375 https://github.com/vim/vim/commit/668e9f24037fc7c362ffdf5fc1d5c5b1a8b0e855 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype/detect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype/detect.lua b/runtime/lua/vim/filetype/detect.lua
index 2d989fdbac..30a9951f6a 100644
--- a/runtime/lua/vim/filetype/detect.lua
+++ b/runtime/lua/vim/filetype/detect.lua
@@ -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'