Commit Graph

12 Commits (1423d5d0820eeefc97d6cdaf3ae8b554676619cc)

Author SHA1 Message Date
ray-x 591a0b8374 Breaking: update ts schema and it require treesitter and go parser
updates
6 months ago
Allen Horine 41c126718a
Updates to treesitter queries to support upstream changes (#425)
* Adjusted local.scm queries to fix crashes when using treesitter post-v0.9.2

* Accounted for 'local' subtable in treesitter matches when querying locals
9 months ago
ray-x 52ac15547c update ts sql/json query injection for nvim 0.10; may break 0.9.0 and below 11 months ago
rayx c9acdf488d
Revert "Disable ts injections in import strings (#371)" (#373)
This reverts commit da108721c5.
1 year ago
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.
1 year ago
ray-x b114ccfac6 support sqlx functions in ts queries 2 years ago
Amaan Qureshi f45b072606
feat: improve queries (#316)
* feat: improve queries

* chore: format files
2 years ago
ray-x 24803e04b8 injection updates
golangci nulls updates
2 years ago
ray-x 96e5768fd4 better sql injections 2 years ago
ray-x 933ff9f0d8 improve treesitter inject 2 years ago
ray-x 3f4ae62846 type spec 2 years ago
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.
2 years ago