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:
@@ -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)
|
||||
Reference in New Issue
Block a user