mirror of https://github.com/ray-x/go.nvim
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.revert-371-disable-injection-import
parent
a370cb9327
commit
da108721c5
Loading…
Reference in New Issue