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

First line of shell code is not highlighted #11

Open
vallentin opened this issue Jul 28, 2023 · 1 comment
Open

First line of shell code is not highlighted #11

vallentin opened this issue Jul 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@vallentin
Copy link

Hey. Thanks for the extension, this was exactly what I needed.

However, I encountered an issue. Sometimes the first line of shell code is not highlighted correctly. I tested a few other languages, and they seem to work fine.

- bash: | # shell
    # Foo
    # Bar
    # Baz

- bash: | # shell
    echo Foo
    echo Bar
    echo Baz

image

However, the following case works fine.

- bash: | # shell
    if [ -e foo/bar ]; then
      echo Foo
      echo Bar
    fi

image

@RedCMD
Copy link
Contributor

RedCMD commented Aug 20, 2024

caused by jeff-hykin/better-shell-syntax#98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants