Skip to content

Get rid of $._raw_js_extension and $._raw_ggl_extension #144

@nkrkv

Description

@nkrkv

As noted in #143 (comment)

Another simplification that can be made:

There are two rules for extension, $._raw_js_extension and $._raw_ggl_extension. They are used to apply injections highlights but we can do without them.

Example for %re():

(extension_expression
  (extension_identifier) @_name
  (#eq? @_name "re")
  (expression_statement (string ((string_fragment) @regex))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions