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