commit 8c405d9b34b575c0d479d04dbfeb38f24c93287e parent 1f5bcc7c4ed7a68ae4e23933aee04c50b4df8bb5 Author: Christian Clason <c.clason@uni-graz.at> Date: Thu, 22 Aug 2024 21:24:33 +0200 vim-patch:0e9fd77: runtime(htmlangular): add html syntax highlighting fixes: vim/vim#15459 closes: vim/vim#15552 https://github.com/vim/vim/commit/0e9fd7755d23477a1cf3a101c301155ba0bc1e2c Co-authored-by: Dennis van den Berg <dennis.vandenberg@nedap.com> Diffstat:
| A | runtime/syntax/htmlangular.vim | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/runtime/syntax/htmlangular.vim b/runtime/syntax/htmlangular.vim @@ -0,0 +1,18 @@ +" Vim syntax file +" Language: Angular HTML template +" Maintainer: Dennis van den Berg <dennis@vdberg.dev> +" Last Change: 2024 Aug 22 + +" quit when a syntax file was already loaded +if exists("b:current_syntax") + finish +endif + +if !exists("main_syntax") + let main_syntax = 'html' +endif + +runtime! syntax/html.vim +unlet b:current_syntax + +let b:current_syntax = "htmlangular"