summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/modula2.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--runtime/syntax/modula2.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/syntax/modula2.vim b/runtime/syntax/modula2.vim
new file mode 100644
index 0000000..6a9f4af
--- /dev/null
+++ b/runtime/syntax/modula2.vim
@@ -0,0 +1,16 @@
+" Vim syntax file
+" Language: Modula-2
+" Maintainer: Doug Kearns <dougkearns@gmail.com>
+" Previous Maintainer: pf@artcom0.north.de (Peter Funk)
+" Last Change: 2024 Jan 04
+
+if exists("b:current_syntax")
+ finish
+endif
+
+let dialect = modula2#GetDialect()
+exe "runtime! syntax/modula2/opt/" .. dialect .. ".vim"
+
+let b:current_syntax = "modula2"
+
+" vim: nowrap sw=2 sts=2 ts=8 noet: