Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Inconsistent syntax highlighting in Bash/Shell

    Help wanted · · · – – – · · ·
    2
    2
    2252
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Daniel Davis
      Daniel Davis last edited by

      What I want is (controlled by SCALAR and PARAM styles):

      enter image description here

      However, with quotes ("), everything becomes (controlled by STRING style):

      enter image description here

      How do I make the 2 undermost lines get the highlighting, as per above?

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Daniel Davis last edited by

        Hello @Daniel-Davis,

        afaik, you can’t as this is a builtin function of the bash lexer. If you want to change
        it you need to rewrite the code for that part.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors