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

Reference: https://rescript-lang.org/docs/manual/latest/overview#comments

Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Riley Bruins
2024-05-22 07:49:17 -07:00
committed by GitHub
parent 25536f415e
commit 802fc04a78
2 changed files with 14 additions and 0 deletions

View File

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