Skip to content

Commit

Permalink
Merge branch 'main' into pr/25325
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdeviant committed Feb 21, 2025
2 parents 34de10c + 7deceb6 commit d5c4252
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
10 changes: 10 additions & 0 deletions crates/languages/src/go/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

(type_identifier) @type
(field_identifier) @variable.member
(package_identifier) @namespace

(keyed_element
.
Expand All @@ -20,6 +21,15 @@

(method_declaration
name: (field_identifier) @function.method)
(method_elem
name: (field_identifier) @function.method)

[
";"
"."
","
":"
] @punctuation.delimiter

[
"("
Expand Down
7 changes: 5 additions & 2 deletions crates/languages/src/json/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
(false)
] @boolean

(null) @constant.builtin

[
(null)
] @constant
","
":"
] @punctuation.delimiter

[
"{"
Expand Down
7 changes: 5 additions & 2 deletions crates/languages/src/jsonc/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
(false)
] @boolean

(null) @constant.builtin

[
(null)
] @constant
","
":"
] @punctuation.delimiter

[
"{"
Expand Down
2 changes: 1 addition & 1 deletion crates/lsp/src/lsp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ impl LanguageServer {
}),
},
trace: None,
workspace_folders: None,
workspace_folders: Some(vec![]),
client_info: release_channel::ReleaseChannel::try_global(cx).map(|release_channel| {
ClientInfo {
name: release_channel.display_name().to_string(),
Expand Down

0 comments on commit d5c4252

Please sign in to comment.