summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/rescript.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/rescript.vim')
-rw-r--r--runtime/ftplugin/rescript.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/rescript.vim b/runtime/ftplugin/rescript.vim
new file mode 100644
index 0000000..dd94c68
--- /dev/null
+++ b/runtime/ftplugin/rescript.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin
+" Language: rescript
+" Maintainer: Riley Bruins <ribru17@gmail.com>
+" Last Change: 2024 May 21
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// commentstring=//\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'