Commit Graph

13 Commits (master)

Author SHA1 Message Date
ray-x 591a0b8374 Breaking: update ts schema and it require treesitter and go parser
updates
1 month ago
ray-x 05ba8a9032 issue #424; neovim is deprecating non-treesitter based syntax highlighting, so it is this plugin 2 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
3 months ago
ray-x 52ac15547c update ts sql/json query injection for nvim 0.10; may break 0.9.0 and below 6 months ago
rayx c9acdf488d
Revert "Disable ts injections in import strings (#371)" (#373)
This reverts commit da108721c5.
9 months 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.
9 months ago
ray-x b114ccfac6 support sqlx functions in ts queries 1 year ago
Amaan Qureshi f45b072606
feat: improve queries (#316)
* feat: improve queries

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