runtime(rescript): include basic rescript ftplugin file (#14822)

Commit: 
https://github.com/vim/vim/commit/802fc04a78a7d98673dc9171d4b89597447a5bda
Author: Riley Bruins <ribr...@hotmail.com>
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 <ribr...@hotmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

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 <ribr...@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<'

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1s9nRm-000Q54-7l%40256bit.org.

Raspunde prin e-mail lui