Commit Graph

9 Commits

Author SHA1 Message Date
rayx
c9acdf488d
Revert "Disable ts injections in import strings (#371)" (#373)
This reverts commit da108721c5.
2023-08-25 19:31:04 -07:00
Matthew Sykes
da108721c5
Disable ts injections in import strings (#371)
Import paths like 'database/sql' are string literals and activate the
SQL injection. Adding a #not-has-ancestor predicate for
import_declaration prevents this.
2023-08-25 18:33:37 -07:00
ray-x
b114ccfac6 support sqlx functions in ts queries 2023-04-01 11:28:18 +11:00
Amaan Qureshi
f45b072606
feat: improve queries (#316)
* feat: improve queries

* chore: format files
2023-03-31 14:10:36 +11:00
ray-x
24803e04b8 injection updates
golangci nulls updates
2023-03-23 17:55:37 +11:00
ray-x
96e5768fd4 better sql injections 2023-03-22 10:40:32 +11:00
ray-x
933ff9f0d8 improve treesitter inject 2023-03-20 23:13:56 +11:00
ray-x
3f4ae62846 type spec 2022-11-24 11:11:35 +11:00
Manuel
62e3838974
fix: latest treesitter expects ;; extends (#245)
If this comment is not present it will overwrite all existing queries
with the content of the respective file.
Also move files from queries/go -> after/queries/go to ensure they are
loaded after e.g. nvim-treesitter queries.
2022-11-24 03:06:50 +11:00