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.

ksh interpreters not recognized as bash-like syntax #136

Open
@mcandre

Description

@mcandre

Prerequisites

Description

language-shellscript fails to highlight a script correctly as bash-like syntax, when the shebang line uses a ksh interpreter such as ksh, mksh, ksh88, pdksh, ksh93, oksh.

Steps to Reproduce

  1. Write a script using a #!/bin/ksh shebang.
  2. Save the script.
  3. Close and reopen the script in Atom.

Expected behavior:

The script highlights just like basic (ba)sh code.

Actual behavior:

Only the shebang and a set command are syntax highlighted.

Reproduces how often: 100%

Versions

$ atom --version
Atom    : 1.34.0
Electron: 2.0.16
Chrome  : 61.0.3163.100
Node    : 8.9.3

Additional Information

macOS Mojave, in case that matters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions