From c7b924919901ca475f586ca762df3de652cace3f Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Sun, 28 Jul 2024 20:19:49 -0300 Subject: [PATCH 1/2] Add commentstring Close #75 --- ftplugin/rescript.vim | 1 + 1 file changed, 1 insertion(+) create mode 100644 ftplugin/rescript.vim diff --git a/ftplugin/rescript.vim b/ftplugin/rescript.vim new file mode 100644 index 0000000..9cb4ab3 --- /dev/null +++ b/ftplugin/rescript.vim @@ -0,0 +1 @@ +setlocal commentstring=//\ %s From 1b49f2432db37a8f70bbfcc3c0d02dc32df3c872 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Sun, 28 Jul 2024 20:34:38 -0300 Subject: [PATCH 2/2] update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2aa6444..c1da9d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Improve syntax highlighting for escaped backticks in interpolated strings ([#55](https://github.com/rescript-lang/vim-rescript/pull/55)) - Highlight improvements ([#69](https://github.com/rescript-lang/vim-rescript/pull/69)) +- Support `commentstring`. https://github.com/rescript-lang/vim-rescript/pull/76 ## 2.1.0