summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/htmlangular.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/htmlangular.vim')
-rw-r--r--runtime/syntax/htmlangular.vim18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/syntax/htmlangular.vim b/runtime/syntax/htmlangular.vim
new file mode 100644
index 0000000..021e61f
--- /dev/null
+++ 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"