summaryrefslogtreecommitdiffhomepage
path: root/contrib/vim
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-11 02:12:47 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-11 02:12:47 +0200
commit5ca7f75d004574b2ce4f94a6820546d3efef92fe (patch)
tree920530fb0c04cc5c4c750c17ee9a65eee77d1868 /contrib/vim
parent25987f87e61e6fd25445ea15a3a6e149e27b1c91 (diff)
Split contrib/ into emacs/ and vim/
Diffstat (limited to 'contrib/vim')
-rw-r--r--contrib/vim/syntax/mintage.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/vim/syntax/mintage.vim b/contrib/vim/syntax/mintage.vim
new file mode 100644
index 0000000..2b03b41
--- /dev/null
+++ b/contrib/vim/syntax/mintage.vim
@@ -0,0 +1,13 @@
+if exists('b:current_syntax')
+ finish
+endif
+let b:current_syntax = 'mintage'
+
+syntax match Comment /^\s*#.*/
+syntax match Number /[0-9.]\+/
+syntax match Identifier /\v\d{4}(-\S+)?/
+syntax match String /"[^"]\{-}"/
+
+
+" ‘Todo’ is semantically a better syntax group, but it looks bad
+syntax match Error /?/