Skip to content

EPP files do not appear to tokenise correctly #68

@glennsarti

Description

@glennsarti

Originally logged by @llowder in #66

Describe the Bug

In an epp file, specifically in a templated shell script, comment highlighting breaks inside function blocks.

image

Ref - https://www.dropbox.com/s/jvn5aif7qd4s4it/vscode_puppet_epp_highlight.png?dl=0

Expected Behavior

Functions should tokenise like a node or class statement

Steps to Reproduce

function bar {
  # something
}

Environment

  • Version [e.g. 1.27.0] N/A
  • Platform [e.g. Ubuntu 18.04] N/A

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions