Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Integrate with # shellcheck shell=... annotations #156

@mcandre

Description

@mcandre

Summary

When the shebang interpreter is not sufficient to select a syntax varient, then check for a # shellcheck shell=<interpeter> comment. These are commonly used to inform the ShellCheck linter system of which syntax to use, so it would make sense for the text editor to apply the same syntax.

Motivation

Many shell scripts like ash and pdksh are not currently highlighting as shell scripts, but they could easily be if we integrated with this ShellCheck annotation.

Describe alternatives you've considered

Manually configuring dozens of shell variants in Atom.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions