Add highlighting for go.work (#7142)

<img width="617" alt="image"
src="https://github.com/zed-industries/zed/assets/45585937/ecb28152-db02-450e-bc81-395abd1c1eef">

Release Notes:

- Added  highlighting for go.work
This commit is contained in:
d1y 2024-02-01 03:11:03 +08:00 committed by GitHub
parent ebdabb907a
commit 5d85801d1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 34 additions and 0 deletions

View file

@ -124,6 +124,7 @@ pub fn init(
vec![Arc::new(go::GoLspAdapter)],
);
language("gomod", tree_sitter_gomod::language(), vec![]);
language("gowork", tree_sitter_gowork::language(), vec![]);
language(
"zig",
tree_sitter_zig::language(),