Files
swift-mirror/utils/vim/syntax
Cassie Jones fea0f4d450 Fix vim comment syntax highlighting.
This change is motivated by highlighting for
test/Interpreter/SDK/lib.swift. It contains the line

    // CHECK: the magic word is ///* magic *///

which without this change leaves the rest of the file highlighted as
commented out.  swiftComment cannot contain swiftLineComment, or else
this:

    /* // */ hello

gets incorrectly highlighted as if "hello" was commented out.
Similarly, swiftLineComment cannot contain swiftComment, or else this:

    // /*
    */

gets incorrectly highlighted as if */ was closing a comment, when
actually it should be a syntax error.
2019-07-22 10:56:52 -07:00
..
2019-07-22 10:56:52 -07:00
2019-07-22 10:56:52 -07:00