summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/mma.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugin/mma.mnv')
-rw-r--r--mnv/runtime/ftplugin/mma.mnv17
1 files changed, 17 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/mma.mnv b/mnv/runtime/ftplugin/mma.mnv
new file mode 100644
index 0000000000..8600009b8a
--- /dev/null
+++ b/mnv/runtime/ftplugin/mma.mnv
@@ -0,0 +1,17 @@
+" MNV filetype plugin file
+" Language: Mathematica
+" Maintainer: Ian Ford <ianf@wolfram.com>
+" Last Change: 2019 Jan 22
+" 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+ finish
+endif
+
+" Don't load another plugin for this buffer
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "setlocal commentstring<"
+
+setlocal commentstring=\(*\ %s\ *\)