summaryrefslogtreecommitdiff
path: root/mnv/runtime/syntax/confini.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/syntax/confini.mnv')
-rw-r--r--mnv/runtime/syntax/confini.mnv18
1 files changed, 18 insertions, 0 deletions
diff --git a/mnv/runtime/syntax/confini.mnv b/mnv/runtime/syntax/confini.mnv
new file mode 100644
index 0000000000..c9e75c96bf
--- /dev/null
+++ b/mnv/runtime/syntax/confini.mnv
@@ -0,0 +1,18 @@
+" MNV syntax file
+" Language: confini
+" Last Change:
+" 2025 May 02 by MNV project commented line starts with # only
+
+" Quit if a syntax file was already loaded
+if exists("b:current_syntax")
+ finish
+endif
+
+" Use the cfg syntax for now, it's similar.
+runtime! syntax/cfg.mnv
+
+" Only accept '#' as the start of a comment.
+syn clear CfgComment
+syn match CfgComment "#.*" contains=@Spell
+
+let b:current_syntax = 'confini'