vim-patch:802fc04: runtime(rescript): include basic rescript ftplugin file (vim/vim#14822)

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

802fc04a78

Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
Christian Clason 2024-05-22 18:47:02 +02:00
parent 01b4da65c2
commit 3d43bdc81e

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