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
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- 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 --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.