File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## master
44
5- - Improves tooling detection (` bsc ` , ` bsb ` ) in a monorepo like setup (` yarn workspaces ` )
5+ ** Improvements: **
6+
7+ - Add proper monorepo support (` e.g. yarn workspaces ` )
8+ - Detects ` bsb ` / ` bsc ` correctly for each buffer separately.
9+ - Heuristic for detecting the binaries: For the current file, find the nearest ` node_modules/bs-platform ` folder for the binaries
10+ - Adds an ` augroup RescriptAutoProjectEnv ` that sets the environment on every ` .res ` / ` .resi ` related read / write / new file event
11+ - Will also update the environment on each ` format ` and ` build ` call to make it sync up for all non-rescript buffers
12+ - On each env update, it updates the local working directory to the updated project root path as well
613- Fixes issue with long template strings breaking the syntax highlighting
14+ - Fixes an issue where ` :RescriptBuild ` would fail in non-rescript buffers due to a wrongly scoped script variable (was buffer only)
15+ - Add new commands ` :RescriptBuildWorld ` and ` :RescriptCleanWorld ` for cleaning / building all sources + dependencies
716
817## 1.1.0
918
Original file line number Diff line number Diff line change 2525- Building the current projec w/ build diagnostics in VIM quickfix
2626- Autocompletion w/ Vim's omnicomplete
2727
28+
29+ ** Monorepo support:**
30+
31+ The vim-rescript plugin automatically updates its project environment on each file open separately.
32+ - Tested for yarn workspaces (see [ ./examples/monorepo-yarn-workspaces] )
33+
2834See ` :h rescript ` for the detailed [ helpfile] ( ./doc/rescript.txt ) .
2935
3036## Requirements
You can’t perform that action at this time.
0 commit comments