runtime(htmlangular): add html syntax highlighting Commit: https://github.com/vim/vim/commit/0e9fd7755d23477a1cf3a101c301155ba0bc1e2c Author: Dennis van den Berg <dennis.vandenb...@nedap.com> Date: Thu Aug 22 20:50:11 2024 +0200
runtime(htmlangular): add html syntax highlighting fixes: https://github.com/vim/vim/issues/15459 closes: https://github.com/vim/vim/issues/15552 Signed-off-by: Dennis van den Berg <dennis.vandenb...@nedap.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS index c22c15c1a..38ab30049 100644 --- a/.github/MAINTAINERS +++ b/.github/MAINTAINERS @@ -464,6 +464,7 @@ runtime/syntax/hitest.vim @lacygoill runtime/syntax/hog.vim @wtfbbqhax runtime/syntax/hollywood.vim @sodero runtime/syntax/html.vim @dkearns +runtime/syntax/htmlangular.vim @dlvandenberg runtime/syntax/i3config.vim @hiqua runtime/syntax/icon.vim @dkearns runtime/syntax/indent.vim @dkearns diff --git a/runtime/syntax/htmlangular.vim b/runtime/syntax/htmlangular.vim new file mode 100644 index 000000000..021e61f9b --- /dev/null +++ b/runtime/syntax/htmlangular.vim @@ -0,0 +1,18 @@ +" Vim syntax file +" Language: Angular HTML template +" Maintainer: Dennis van den Berg <den...@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" -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1shD2T-001Imm-HP%40256bit.org.