Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
fix(nvim): injections
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jan 31, 2023
1 parent 0f9076c commit 0725581
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nvim/config/after/queries/go/injections.scm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; e.g. const query = `SELECT * FROM users WHERE name = 'John'`;

(const_spec
name: (identifier) @_name (#match? @_name "[Q|q]uery")
name: (identifier) @_name (#match? @_name "[Qq]uery")
value: (expression_list
(raw_string_literal) @sql)
(#offset! @sql 0 1 0 -1))
Expand Down
10 changes: 5 additions & 5 deletions nvim/config/lazy-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0725581

Please sign in to comment.