Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

(Feature request) Shell( Bash) Syntax Highlight #583

Closed
betrion opened this issue Nov 12, 2024 · 5 comments
Closed

(Feature request) Shell( Bash) Syntax Highlight #583

betrion opened this issue Nov 12, 2024 · 5 comments

Comments

@betrion
Copy link

betrion commented Nov 12, 2024

Describe feature

Hi guys,
thank you so much for implementing syntax highlighting, so plugins are no longer needed.
One thing I noticed:

  • code blocks that are set to Bash (shell) don't display any color changes, using the plugin before it worked.
  • Setting to Auto-detected it does some random coloring

Additional Information

  • On 0.90.11
@meichthys
Copy link
Contributor

Were glad you're enjoying the change 👍

  • Setting to Auto-detected it does some random coloring

Could you provide an example?

@betrion
Copy link
Author

betrion commented Nov 12, 2024

Hi meichthys, thank you so much for replying.
It's kinda unusual:

  • Selecting Shell (bash) all colors are gone:
    image
  • Selecting auto seems to work in this example:
    image
  • I remember these kinds of lines having more color, but i could be wrong..
    image

@perfectra1n
Copy link
Member

Did you already disable the other syntax highlighting widgets?

@perfectra1n
Copy link
Member

perfectra1n commented Nov 12, 2024

Shell (bash) highlighting:
image

Auto-detect:
image

Text:

find . -maxdepth 1 -type d | while read -r dir
do printf "%s:\t" "$dir"; find "$dir" -type f | wc -l; done

Hmmmm.....

@eliandoran
Copy link
Contributor

Thank you for your feedback, apparently I was setting shell language when you selected Bash, but this appears to be a separate highlighter for copy-paste of terminals.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants