You'll probably like this as well: The Better Syntax Megapack
This will get you the bleeding-edge syntax highlighting for bash/zsh. Which means your theme will be able to color your code better.
NOTE: The default VS Code theme does not color much. Switch to the Dark+ theme (installed by default) or use a theme like one of the following to benefit from the changes:
- XD Theme
- Noctis
- Kary Pro Colors
- Material Theme
- One Monokai Theme
- Winteriscoming
- Popping and Locking
- Syntax Highlight Theme
- Default Theme Enhanced
Just install the VS Code extension and the changes will automatically be applied to all relevent files.
Before | After |
---|---|
The screenshots were taken with PolaCode 2022 with the XD Theme (MixItUp variant) and the XD font
If you'd like to help improve the syntax, main.rb
is where all the magic happens and CONTRIBUTING.md
explains how the code works.
Post an issue on https://github.com/jeff-hykin/better-shell-syntax