Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace new lsp for vlang #7760

Merged
merged 6 commits into from
Jul 30, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update scm for new lsp
  • Loading branch information
lydiandy committed Jul 29, 2023
commit 6dba4da6f317fd1ea07ee732315f7d7b2fba02e6
5 changes: 2 additions & 3 deletions runtime/queries/v/indents.scm
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
(function_declaration)
(if_expression)
(match_expression)
(expression_case)
(default_case)
(for_statement)
(unsafe_expression)
(short_var_declaration)
(var_declaration)
(const_declaration)
] @indent

[
Expand Down
6 changes: 3 additions & 3 deletions runtime/queries/v/textobjects.scm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
body: (block)? @test.inside) @test.around
(#match? @_name "^test"))

(fn_literal
(function_literal
body: (block)? @function.inside) @function.around

(parameter_list
Expand All @@ -17,9 +17,9 @@
((_) @parameter.inside) @parameter.around))

(struct_declaration
(struct_field_declaration_list) @class.inside) @class.around
(struct_field_declaration) @class.inside) @class.around

(struct_field_declaration_list
(struct_field_declaration
((_) @parameter.inside) @parameter.around)

(comment) @comment.inside
Expand Down