diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-05-19 08:42:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-19 08:42:05 +0800 |
| commit | f3bb21e71da09a357c0b05e53b4e11afdceb6621 (patch) | |
| tree | be6b911fbbb71a69250eeea6393b62a97ec5bc8c /runtime/lua/vim/range.lua | |
| parent | 450ba41436b6f9a94c7519339a0bdff8dfbf66a9 (diff) | |
| download | rneovim-f3bb21e71da09a357c0b05e53b4e11afdceb6621.tar.gz rneovim-f3bb21e71da09a357c0b05e53b4e11afdceb6621.tar.bz2 rneovim-f3bb21e71da09a357c0b05e53b4e11afdceb6621.zip | |
vim-patch:9.2.0500: filetype: some html files wrongly recognized as htmlangular (#39880)
Problem: filetype: some html files are wrongly recognized as htmlangular
Solution: Use the \< atom to anchor ng-template and ng-content to start
of word (truffle)
Prevent false-positive htmlangular detection on words containing
'ng-template' or 'ng-content' as a substring (e.g. 'song-template',
'sing-content'). Anchor both branches with \< to require a word start,
matching the \<DTD\s\+XHTML\s idiom used five lines below.
related: neovim/neovim#39778.
closes: vim/vim#20246
https://github.com/vim/vim/commit/354ab1a69efbe5f84cd7225bc3945db3f2cec5c4
Co-authored-by: truffle <truffleagent@gmail.com>
Diffstat (limited to 'runtime/lua/vim/range.lua')
0 files changed, 0 insertions, 0 deletions