mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 02:47:34 +03:00
Fix bracket captures for Go, C, C++, and Zig (#6784)
This fixes #6702 by adding the captures for Go, C, C++, and Zig. Witnessed-by: @dammerung2718 <dammerung2718@icloud.com> Release Notes: - Fixed matching-bracket navigation via `%` in Vim mode not working for `(` in Go, C, C++, and not working for any in Zig. ([#6702](https://github.com/zed-industries/zed/issues/6702))
This commit is contained in:
commit
3c3cdecdff
@ -1,3 +1,4 @@
|
||||
("(" @open ")" @close)
|
||||
("[" @open "]" @close)
|
||||
("{" @open "}" @close)
|
||||
("\"" @open "\"" @close)
|
||||
|
@ -1,3 +1,4 @@
|
||||
("(" @open ")" @close)
|
||||
("[" @open "]" @close)
|
||||
("{" @open "}" @close)
|
||||
("\"" @open "\"" @close)
|
||||
|
@ -1,3 +1,4 @@
|
||||
("(" @open ")" @close)
|
||||
("[" @open "]" @close)
|
||||
("{" @open "}" @close)
|
||||
("\"" @open "\"" @close)
|
||||
|
3
crates/zed/src/languages/zig/brackets.scm
Normal file
3
crates/zed/src/languages/zig/brackets.scm
Normal file
@ -0,0 +1,3 @@
|
||||
("(" @open ")" @close)
|
||||
("[" @open "]" @close)
|
||||
("{" @open "}" @close)
|
Loading…
Reference in New Issue
Block a user