summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/mlir.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugin/mlir.mnv')
-rw-r--r--mnv/runtime/ftplugin/mlir.mnv10
1 files changed, 10 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/mlir.mnv b/mnv/runtime/ftplugin/mlir.mnv
new file mode 100644
index 0000000000..4df4593bf9
--- /dev/null
+++ b/mnv/runtime/ftplugin/mlir.mnv
@@ -0,0 +1,10 @@
+" MNV filetype plugin file
+" Language: MLIR
+
+if exists("b:did_ftplugin") | finish | endif
+let b:did_ftplugin = 1
+
+setl comments=:///,://
+setl commentstring=//\ %s
+
+let b:undo_ftplugin = "setl commentstring< comments<"