Skip to content

Commit 2a0440d

Browse files
authored
Support bracket matching
As the title says – I use Zed w/ ReScript w/ VIM keybindings. Currently, bracket matching via `%` does not work. This PR should fix that 😄 Inspired by zed-industries/zed#6784
1 parent 263820e commit 2a0440d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

languages/rescript/brackets.scm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
("(" @open ")" @close)
2+
("[" @open "]" @close)
3+
("{" @open "}" @close)

0 commit comments

Comments
 (0)