You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
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
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
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
Write a script using a #!/bin/ksh shebang.
Save the script.
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 --versionAtom : 1.34.0Electron: 2.0.16Chrome : 61.0.3163.100Node : 8.9.3
The first-mate grammar supports ksh but the tree-sitter grammar does not. A workaround for now is to turn off "Use Tree Sitter Parsers" in the Core Settings in Settings View.
Activity
lee-dohm commentedon Jan 29, 2019
The first-mate grammar supports ksh but the tree-sitter grammar does not. A workaround for now is to turn off "Use Tree Sitter Parsers" in the Core Settings in Settings View.
mcandre commentedon Feb 18, 2020
Same for some other obscure shell interpreters, including
posh. Gah, there are too many to handle!