diff options
author | Riley Bruins <ribru17@hotmail.com> | 2024-05-22 07:49:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 16:49:17 +0200 |
commit | 802fc04a78a7d98673dc9171d4b89597447a5bda (patch) | |
tree | f1259d164256ed99909b46f5f151224311e60ad5 /runtime/ftplugin | |
parent | 25536f415eab5a90d68b3c689c66a72803cd8e5d (diff) |
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>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/rescript.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/rescript.vim b/runtime/ftplugin/rescript.vim new file mode 100644 index 0000000000..dd94c68799 --- /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<' |