Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach attributes to their associated node #70

Closed
wants to merge 2 commits into from

Commits on Sep 19, 2023

  1. Attach attributes to their associated node

    In the previous version of the grammar, attributes essentially "floated"
    in the tree, meaning they were not actually attached to anything. This
    was causing odd issues with syntax highlighting, such as external
    functions marked with an `@external` attribute causing subsequent
    syntax highlighting to fail in source files. This commit attaches
    attribute nodes only to legal parent nodes (functions and statement
    blocks) to make syntax highlighting more consistent.
    
    Closes gleam-lang#69
    deriamis committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    3c0b1e1 View commit details
    Browse the repository at this point in the history
  2. Fix npm install on Mac

    deriamis committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    5fe94a9 View commit details
    Browse the repository at this point in the history