Skip to content

Conversation

@vieira
Copy link
Contributor

@vieira vieira commented May 20, 2021

Add syntax highlighting to the private field modifier # as defined in tc39/proposal-class-fields, tc39/proposal-static-class-features and tc39/proposal-private-methods.

export class JSDOM {
  static #red = "#ff0000";
  #createdBy;
  
  #registerWithRegistry() {
    // ... elided ...
  }

  static #finalizeFactoryCreated(jsdom, factoryName) {
    jsdom.#createdBy = factoryName;
    jsdom.#registerWithRegistry(registry);
    return jsdom;
  }
}

vieira added 2 commits May 20, 2021 02:46
Add syntax highlighting to the private field modifier `#` as defined in tc39/proposal-class-fields, tc39/proposal-static-class-features and tc39/proposal-private-methods
mantoni added a commit to mantoni/vim-javascript that referenced this pull request May 28, 2024
mantoni added a commit to mantoni/vim-javascript that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant