runtime(rescript): include basic rescript ftplugin file (#14822)
Commit:
https://github.com/vim/vim/commit/802fc04a78a7d98673dc9171d4b89597447a5bda
Author: Riley Bruins <[email protected]>
Date: Wed May 22 07:49:17 2024 -0700
runtime(rescript): include basic rescript ftplugin file
(https://github.com/vim/vim/issues/14822)
Reference: https://rescript-lang.org/docs/manual/latest/overview#comments
Signed-off-by: Riley Bruins <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index 3ae962bbb..519a6c951 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -207,6 +207,7 @@ runtime/ftplugin/qb64.vim @dkearns
runtime/ftplugin/qml.vim @ChaseKnowlden
runtime/ftplugin/racket.vim @benknoble
runtime/ftplugin/readline.vim @dkearns
+runtime/ftplugin/rescript.vim @ribru17
runtime/ftplugin/routeros.vim @zainin
runtime/ftplugin/rst.vim @marshallward
runtime/ftplugin/ruby.vim @tpope @dkearns
diff --git a/runtime/ftplugin/rescript.vim b/runtime/ftplugin/rescript.vim
new file mode 100644
index 000000000..dd94c6879
--- /dev/null
+++ b/runtime/ftplugin/rescript.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin
+" Language: rescript
+" Maintainer: Riley Bruins <[email protected]>
+" 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<'
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1s9nRm-000Q54-7l%40256bit.org.