mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
vim-patch:0e9fd77: runtime(htmlangular): add html syntax highlighting
fixes: vim/vim#15459
closes: vim/vim#15552
0e9fd7755d
Co-authored-by: Dennis van den Berg <dennis.vandenberg@nedap.com>
This commit is contained in:
parent
1f5bcc7c4e
commit
8c405d9b34
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"
|
Loading…
Reference in New Issue
Block a user