Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: optionalg/vim-javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: pangloss/vim-javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 13 commits
  • 5 files changed
  • 13 contributors

Commits on Jan 24, 2020

  1. feat: Add NOTE to jsCommentTodo (pangloss#1198)

    Highlight `NOTE` to mention in documentation or JSDoc
    corbinhesse authored and amadeus committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    db59565 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2020

  1. Fix matching of jsClassProperty without an initial value (pangloss#1202)

    Given the following code
    
    ```javascript
    class Foo {
      bar;
    
      baz = 'biz';
    }
    ```
    
    The `baz` is properly matched as a `jsClassProperty` but `bar is
    `jsClassBody`. The regex for `jsClassProperty` was requiring the `=`
    that followed the property name. The changes allow value less
    properties by allowing either `;` or `=` to follow the name.
    ohcibi authored Apr 13, 2020
    Configuration menu
    Copy the full SHA
    c396615 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Configuration menu
    Copy the full SHA
    92a2b46 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2020

  1. Add .cjs file extension support (pangloss#1207)

    As of Node 13.2.0, the `--experimental-modules` flag was removed making
    usage of ES modules available by default. As part of the Node ES modules
    support, they allow a package to define their default module type (which
    is how `.js` files are interpretted) and also allow using either `.cjs`
    or `.mjs` to explicitly declare a given file is of one format or the
    other.
    
    We already had the `.mjs` extension supported so this adds `.cjs` to
    round out support for Node's ES module system.
    
    References:
    
    * [v13.2.0 release post unflagging `--experimental-modules`](https://nodejs.org/en/blog/release/v13.2.0/)
    * [v14 documentation of ES Modules](https://nodejs.org/api/esm.html)
    rwjblue authored May 11, 2020
    Configuration menu
    Copy the full SHA
    3c90d0c View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2021

  1. Configuration menu
    Copy the full SHA
    c7593e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. Add support for _ in hex numbers

    Fixes pangloss#1232
    
    I am not going for a super accurate fix, just enough to not break syntax
    highlighting in a valid use case
    amadeus committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    585ad54 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. Add WeakRef (pangloss#1238)

    Add syntax highlightling to WeakRef as defined in tc39/proposal-weakrefs
    João Vieira
    João Vieira authored May 20, 2021
    Configuration menu
    Copy the full SHA
    3dc959f View commit details
    Browse the repository at this point in the history

Commits on May 23, 2021

  1. Add BigInt (pangloss#1239)

    Add syntax highlighting to BigInt literals and to the BigInt built-in object as defined in tc39/proposal-bigint.
    vieira authored May 23, 2021
    Configuration menu
    Copy the full SHA
    f8345cd View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2021

  1. Configuration menu
    Copy the full SHA
    d6e1375 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Better distinguish statements from expressions (pangloss#1249)

    Fixes incorrect highlighting of blocks as objects.
    lassipulkkinen authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    67a3435 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Add tilde ~ to jsDocParam for inner members (pangloss#1250)

    Added a tilde to the jsDocParam syntax match to support jsdoc3 namepaths style (i.e. when creating a typedef for an inner member).
    See https://jsdoc.app/tags-typedef.html
    
    Co-authored-by: Jonathan Halchak <[email protected]>
    jrhalchak and Jonathan Halchak authored Aug 15, 2022
    Configuration menu
    Copy the full SHA
    cf88724 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c470ce1 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2025

  1. Revise README to include a warning about foldmethod=syntax hanging du…

    …ring paste in some terminals (pangloss#1258)
    jayk authored Mar 21, 2025
    Configuration menu
    Copy the full SHA
    b26c9ed View commit details
    Browse the repository at this point in the history
Loading