summaryrefslogtreecommitdiff
path: root/mnv/runtime/ftplugin/wat.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/ftplugin/wat.mnv')
-rw-r--r--mnv/runtime/ftplugin/wat.mnv18
1 files changed, 18 insertions, 0 deletions
diff --git a/mnv/runtime/ftplugin/wat.mnv b/mnv/runtime/ftplugin/wat.mnv
new file mode 100644
index 0000000000..e79a3ab502
--- /dev/null
+++ b/mnv/runtime/ftplugin/wat.mnv
@@ -0,0 +1,18 @@
+" MNV filetype plugin file
+" Language: WebAssembly
+" Maintainer: rhysd <lin90162@yahoo.co.jp>
+" Last Change: Nov 14, 2023
+" May 24, 2024 by Riley Bruins <ribru17@gmail.com> ('commentstring')
+" For bugs, patches and license go to https://github.com/rhysd/mnv-wasm
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal comments=s:(;,e:;),:;;
+setlocal commentstring=(;\ %s\ ;)
+setlocal formatoptions-=t
+setlocal iskeyword+=$,.,/
+
+let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions< iskeyword<"