From d4f57b6900e99b6af9fa26a9838f59531edc45f0 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Sun, 26 Apr 2026 10:59:59 -0300 Subject: [PATCH 1/2] update CHANGELOG.md --- CHANGELOG.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 931fe72..839f397 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,17 +2,31 @@ ## master +## 3.0.0 + **Breaking Changes:** -- Remove vendored ReScript LS and remove native Vim Commands (e.g. `:RescriptBuild`, etc) - - The ReScript Language Server will now be shipped as a dedicated npm package [rescript-language-server](https://github.com/rescript-lang/rescript-vscode/tree/master/server#rescript-language-server) +- Remove vendored ReScript language server (LS) and native Vim commands (e.g. `:RescriptBuild`, etc) ([#72](https://github.com/rescript-lang/vim-rescript/pull/72)) + - The ReScript Language Server is now shipped as a dedicated npm package [rescript-language-server](https://github.com/rescript-lang/rescript-vscode/tree/master/server#rescript-language-server) - Migrate to the official language server as described in our README instructions **Improvements:** -- 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)) and https://github.com/rescript-lang/vim-rescript/pull/78 -- Support `commentstring`. https://github.com/rescript-lang/vim-rescript/pull/76 +- ReScript v11 syntax changes ([#78](https://github.com/rescript-lang/vim-rescript/pull/78)) +- Add `commentstring` support ([#76](https://github.com/rescript-lang/vim-rescript/pull/76)) +- Highlight improvements ([#69](https://github.com/rescript-lang/vim-rescript/pull/69)) +- Add syntax highlighting for `async`/`await` ([#65](https://github.com/rescript-lang/vim-rescript/pull/65)) +- Support escape sequences in backtick strings ([#55](https://github.com/rescript-lang/vim-rescript/pull/55)) +- Add manual installation instructions for Packer users ([#62](https://github.com/rescript-lang/vim-rescript/pull/62)) + +**Documentation:** + +- Update LSP setup ([#79](https://github.com/rescript-lang/vim-rescript/pull/79)) + +**Tests:** + +- Add syntax tests ([#71](https://github.com/rescript-lang/vim-rescript/pull/71)) +- Fix tests ([#77](https://github.com/rescript-lang/vim-rescript/pull/77)) ## 2.1.0 From 50475e31b0f89810115752a1c47b7e33faac0107 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Sun, 26 Apr 2026 11:02:04 -0300 Subject: [PATCH 2/2] update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fbc5882..19d2ecc 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,11 @@ NeoBundle 'rescript-lang/vim-rescript' ``` ```lua +-- vim.pack builtin, require neovim 0.12+ +vim.pack.add { 'https://github.com/rescript-lang/vim-rescript' } + -- Lazy.nvim -{ 'rescript-lang/vim-rescript', ft="rescript" } +{ 'rescript-lang/vim-rescript', ft = 'rescript' } ``` You can also pin your installation to specific tags (check our releases [here](https://github.com/rescript-lang/vim-rescript/releases)): @@ -37,13 +40,13 @@ You can also pin your installation to specific tags (check our releases [here](h With Plug: ```vim -Plug 'rescript-lang/vim-rescript', {'tag': 'v2.1.0'} +Plug 'rescript-lang/vim-rescript', {'tag': 'v3.0.0'} ``` With [Lazy.nvim](https://github.com/folke/lazy.nvim): ```lua -{ 'rescript-lang/vim-rescript', tag = "v2.1.0" } +{ 'rescript-lang/vim-rescript', tag = "v3.0.0" } ``` ## Setup LSP