]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0555: filetype: angular ft detection is still problematic v9.1.0555
authorChristian Brabandt <cb@256bit.org>
Wed, 10 Jul 2024 17:23:39 +0000 (19:23 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 10 Jul 2024 17:31:00 +0000 (19:31 +0200)
commitc03f631b7b01e672787b222a55898f8dcac8d859
treeff56f0527d4c4e8127d76a545381f5bc9bc3d643
parent4ff3a9b1e3ba45f9dbd0ea8c721f27d9315c4d93
patch 9.1.0555: filetype: angular ft detection is still problematic

Problem:  filetype: angular ft detection is still problematic
          (after 9.1.0551)
Solution: detect htmlangular filetype only by inspecting the content,
          do not try to determine it from a generic name like
          '*.component.html'

For the reasons mentioned here:

https://github.com/vim/vim/pull/13594#issuecomment-1834465890

related: #15190
related: #13594
related: #13604

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/dist/ft.vim
src/testdir/test_filetype.vim
src/version.c