mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00:00
runtime(htmlangular): add html syntax highlighting
fixes: #15459 closes: #15552 Signed-off-by: Dennis van den Berg <dennis.vandenberg@nedap.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
4a0dc29e5f
commit
0e9fd7755d
1
.github/MAINTAINERS
vendored
1
.github/MAINTAINERS
vendored
@ -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
|
||||
|
18
runtime/syntax/htmlangular.vim
Normal file
18
runtime/syntax/htmlangular.vim
Normal file
@ -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"
|
Reference in New Issue
Block a user