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

Possible Grammars issue - affecting syntax on Coffeescript files #13

Open
aeschli opened this issue Jan 31, 2017 · 1 comment
Open

Possible Grammars issue - affecting syntax on Coffeescript files #13

aeschli opened this issue Jan 31, 2017 · 1 comment

Comments

@aeschli
Copy link

aeschli commented Jan 31, 2017

From @ConorHiggins on November 4, 2016 2:1

  • VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:46:00.226Z)
  • OS Version: Darwin x64 15.6.0
  • Extensions:
Extension Author Version
githistory donjayamanne 0.1.0
sublime-keybindings ms-vscode 1.5.12
stylelint shinnn 0.18.0

Steps to Reproduce:

Paste the following into a new tab and save it as a .coffee file:

define [
    'text!./template.html'
], (
    templateMarkup
) ->
    class SomeVM

        ###  ____       _
            / ___|  ___| |_ _   _ _ __
            \___ \ / _ \ __| | | | '_ \
             ___) |  __/ |_| |_| | |_) |
            |____/ \___|\__|\__,_| .__/
                                 |_|
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###

        constructor: (params={}) ->
            @somePropName = 'xyz'
            return


        ###  _____                 _     _   _                 _ _
            | ____|_   _____ _ __ | |_  | | | | __ _ _ __   __| | | ___ _ __ ___
            |  _| \ \ / / _ \ '_ \| __| | |_| |/ _` | '_ \ / _` | |/ _ \ '__/ __|
            | |___ \ V /  __/ | | | |_  |  _  | (_| | | | | (_| | |  __/ |  \__ \ - On...
            |_____| \_/ \___|_| |_|\__| |_| |_|\__,_|_| |_|\__,_|_|\___|_|  |___/
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###


        ### _____
            |  _ \(_)___ _ __ | | __ _ _   _
            | | | | / __| '_ \| |/ _` | | | |
            | |_| | \__ \ |_) | | (_| | |_| |
            |____/|_|___/ .__/|_|\__,_|\__, |
                        |_|            |___/
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###


        ### __        __         _
            \ \      / /__  _ __| | _____ _ __ ___
             \ \ /\ / / _ \| '__| |/ / _ \ '__/ __|
              \ V  V / (_) | |  |   <  __/ |  \__ \
               \_/\_/ \___/|_|  |_|\_\___|_|  |___/
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###


        ###  ____            _
            |  _ \  ___  ___| |_ _ __ ___  _   _
            | | | |/ _ \/ __| __| '__/ _ \| | | |
            | |_| |  __/\__ \ |_| | | (_) | |_| |
            |____/ \___||___/\__|_|  \___/ \__, |
                                           |___/
        # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ###

        dispose: ->
            return

    return {
        viewModel: SomeVM
        template: templateMarkup
    }

Copied from original issue: microsoft/vscode#14953

@aeschli
Copy link
Author

aeschli commented Jan 31, 2017

Same issue in TextMate.

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

No branches or pull requests

1 participant