syntax: Add weechatlog
[vimconf.git] / syntax / weechatlog.vim
diff --git a/syntax/weechatlog.vim b/syntax/weechatlog.vim
new file mode 100644 (file)
index 0000000..6c10d95
--- /dev/null
@@ -0,0 +1,7 @@
+syn spell notoplevel
+syn match Constant "^\(\d\+-\d\+-\d\+\s\+\)\?\d\d:\d\d\(:\d\d\)\?"
+syn match Type "\t\S\+\t"
+syn region Comment start="\t--\t" end="$"
+syn region Comment start="\tℹ\t" end="$"
+syn region DiffAdded start="   ▬▬▶       " end="$"
+syn region DiffRemoved start=" ◀▬▬       " end="$"